svn commit: r344076 - stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
mav at FreeBSD.org
Wed Feb 13 00:39:29 UTC 2019
Date: Wed Feb 13 00:39:28 2019
New Revision: 344076
MFC r343586: Remove BIO_ORDERED flag from BIO_FLUSH sent by ZFS.
In all cases where ZFS sends BIO_FLUSH, it first waits for all related
writes to complete, so its BIO_FLUSH does not care about strict ordering.
Removal of one makes life much easier at least for NVMe driver, which
hardware has no concept of request ordering, relying completely on software.
stable/11/ (props changed)
--- stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c Wed Feb 13 00:39:03 2019 (r344075)
+++ stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c Wed Feb 13 00:39:28 2019 (r344076)
@@ -1097,7 +1097,6 @@ sendreq:
bp->bio_cmd = BIO_FLUSH;
- bp->bio_flags |= BIO_ORDERED;
bp->bio_data = NULL;
bp->bio_offset = cp->provider->mediasize;
bp->bio_length = 0;
More information about the svn-src-all