We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec40e2f commit 7fe08e7Copy full SHA for 7fe08e7
downstairs/src/region.rs
@@ -909,6 +909,12 @@ impl Region {
909
}
910
911
if cfg!(feature = "omicron-build") {
912
+ // If using `omicron-build`, then we're running on illumos and the
913
+ // region is backed by a ZFS dataset. Issue a _FIOFFS call, which
914
+ // will result in a `zfs_sync` to the entire region dataset. If this
915
+ // feature is enabled then the `extent.flush` calls above will _not_
916
+ // sync their data, but will update the flush and gen numbers and
917
+ // clear the dirty bit.
918
use std::io;
919
use std::os::fd::AsRawFd;
920
use std::ptr;
0 commit comments