-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
Type: DefectIncorrect behavior (e.g. crash, hang)Incorrect behavior (e.g. crash, hang)
Description
System information
Type | Version/Name |
---|---|
Distribution Name | FreeBSD |
Distribution Version | 13.0-stable |
Kernel Version | 13.0-STABLE 0fc6eebbf763 |
Architecture | amd64 |
OpenZFS Version | zfs-2.1.2-FreeBSD_gaf88d47f1, zfs-kmod-2.1.2-FreeBSD_gaf88d47f1 |
Describe the problem you're observing
OpenZFS doesn't include the BIO_ORDERED flag on bio operations it generates. This allows the FreeBSD I/O subsystem to arbitrarily reorder I/O operations, which breaks ZFS expectations regarding which data is on stable storage.
Describe how to reproduce the problem
- OpenZFS code search.
- With a geom_gate(4) patched to detect BIO_ORDERED operations, do a
zpool create
,zfs recv
andzpool export
to a geom_gate device and note the absence of any BIO_ORDERED operations.
Include any warning/errors/backtraces from the system logs
N/A
Metadata
Metadata
Assignees
Labels
Type: DefectIncorrect behavior (e.g. crash, hang)Incorrect behavior (e.g. crash, hang)