svn commit: r344076 - stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

Alexander Motin mav at FreeBSD.org
Wed Feb 13 00:39:29 UTC 2019


Author: mav
Date: Wed Feb 13 00:39:28 2019
New Revision: 344076
URL: https://svnweb.freebsd.org/changeset/base/344076

Log:
  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.

Modified:
  stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c
==============================================================================
--- 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:
 		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;


More information about the svn-src-all mailing list