←back to thread

144 points ksec | 4 comments | | HN request time: 0.913s | source
1. ncrmro ◴[] No.44470354[source]
Lots of people mentioning ZFS, which can’t do hibernation correctly as sometimes ZFS will still do some writes after that ram has suspended. Which I feel like would complete the story of here’s my mobile device that is snapshoted and backed up regularly.

I wonder where bcachfs in regards to mobile snapshots and hibernation.

replies(2): >>44472341 #>>44474446 #
2. koverstreet ◴[] No.44472341[source]
Works fine - my main development laptop has been bcachefs for ~8 years, I suspend it all the time :)

I think there have been one or two bug reports in the past from rebalance not freezing in a timely manner (laptops don't usually use rebalance, that's usually a multi device thing), but I think they've been fixed. Send me a bug report if it's not :)

replies(1): >>44473177 #
3. ncrmro ◴[] No.44473177[source]
Suspend works find on ZFS from what I’ve read but not hibernate where ram is written to disk for full power off
4. ryao ◴[] No.44474446[source]
Linux’s power management APIs that handle these things are behind GPL symbol exports. In theory, it should be fairly simple to resolve this if it were not for that. Right now, if you want hibernation with ZFS, you should use FreeBSD.