aboutsummaryrefslogtreecommitdiff
path: root/sys/cddl/contrib/opensolaris
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2019-01-30 17:39:44 +0000
committerAlexander Motin <mav@FreeBSD.org>2019-01-30 17:39:44 +0000
commit54cde30f925c37fad249c48d79ded7f58095a159 (patch)
tree246d50bf29964690ea26157de2df55249c68b16d /sys/cddl/contrib/opensolaris
parent6afd9210909a1a7f6ed5e5a15fc9d1cf815a555e (diff)
downloadsrc-54cde30f925c37fad249c48d79ded7f58095a159.tar.gz
src-54cde30f925c37fad249c48d79ded7f58095a159.zip
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. MFC after: 2 weeks Sponsored by: iXsystems, Inc.
Notes
Notes: svn path=/head/; revision=343586
Diffstat (limited to 'sys/cddl/contrib/opensolaris')
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c
index 7794bd505525..639f48906aca 100644
--- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c
+++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c
@@ -1097,7 +1097,6 @@ sendreq:
break;
case ZIO_TYPE_IOCTL:
bp->bio_cmd = BIO_FLUSH;
- bp->bio_flags |= BIO_ORDERED;
bp->bio_data = NULL;
bp->bio_offset = cp->provider->mediasize;
bp->bio_length = 0;