Skip to content

Commit 7fe08e7

Browse files
committed
a comment
1 parent ec40e2f commit 7fe08e7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

downstairs/src/region.rs

+6
Original file line numberDiff line numberDiff line change
@@ -909,6 +909,12 @@ impl Region {
909909
}
910910

911911
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.
912918
use std::io;
913919
use std::os::fd::AsRawFd;
914920
use std::ptr;

0 commit comments

Comments
 (0)