svn commit: r344075 - stable/12/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
mav at FreeBSD.org
Wed Feb 13 00:39:04 UTC 2019
Date: Wed Feb 13 00:39:03 2019
New Revision: 344075
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/12/ (props changed)
--- stable/12/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c Wed Feb 13 00:38:28 2019 (r344074)
+++ stable/12/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c Wed Feb 13 00:39:03 2019 (r344075)
@@ -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