]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r343586: Remove BIO_ORDERED flag from BIO_FLUSH sent by ZFS.
authormav <mav@FreeBSD.org>
Wed, 13 Feb 2019 00:39:28 +0000 (00:39 +0000)
committermav <mav@FreeBSD.org>
Wed, 13 Feb 2019 00:39:28 +0000 (00:39 +0000)
commited2cf641aebdafdeda8feb1f016c211f2bcc35e4
tree27c46399ccdac2517c26d4aaa5b11bc9c127c62d
parent06f8533617754cce365a420641cc652d8ddc6b1e
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.
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c