Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Feb 2022 18:49:31 +1100
From:      Peter Jeremy <peterj@freebsd.org>
To:        Warner Losh <imp@bsdimp.com>
Cc:        Konstantin Belousov <kostikbel@gmail.com>, FreeBSD FS <freebsd-fs@freebsd.org>, "freebsd-geom@FreeBSD.org" <freebsd-geom@freebsd.org>
Subject:   Re: bio re-ordering
Message-ID:  <Yfo3i9Yy/uCUpss1@server.rulingia.com>
In-Reply-To: <CANCZdfoqQ3Ze%2BcMTsk_ho9x8hsSM9=fTavSao%2BUtwc2nSAEJpQ@mail.gmail.com>
References:  <YfTCs7j3TPZFcFCD@server.rulingia.com> <YfTEj1KLhQhoR3xP@kib.kiev.ua> <CANCZdfoqQ3Ze%2BcMTsk_ho9x8hsSM9=fTavSao%2BUtwc2nSAEJpQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--KgkkJ0JjAtxbHxnB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Thanks all for the very prompt responses.

On 2022-Jan-28 22:32:02 -0700, Warner Losh <imp@bsdimp.com> wrote:
>I think that ufs relies on two ordering primitives, both marked with
>BIO_ORDERED today.
>That's what most of the drivers key off of. We always set BIO_ORDERED on
>all the BIO_FLUSH
>events as far as I Can tell.

Thanks for that warning.  I don't think geom_gate understands either
B_BARRIER or BIO_ORDERED.  I shall have a closer look.

>to it. b*barrierwrite() sets this, and that's used in the ffs_alloc code.

In my case, I'm interested in ZFS, rather than UFS and it doesn't seem
to set B_BARRIER or BIO_ORDERED or indirectly.

--=20
Peter Jeremy

--KgkkJ0JjAtxbHxnB
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEE7rKYbDBnHnTmXCJ+FqWXoOSiCzQFAmH6N4ZfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEVF
QjI5ODZDMzA2NzFFNzRFNjVDMjI3RTE2QTU5N0EwRTRBMjBCMzQACgkQFqWXoOSi
CzS/uw/+ONGwBq5/3KjIJZ+6rzyBja7Yb9EdfOdhrM9C6w4H84CpjWNZK56Aph6D
SOMx3x299iAUG6vAehdl5pK91nkM/XBSpdb8JehMmIy1JU+3ydDwLcbaxOxW5Zwm
lhqDZLTr6Q+Nsz6PmLMknswiG2tSfuqD3AB402OCHhZzMZaMcQJJ2Yc/vvVFMdMq
CkTbWiYwQf33hqcofYHFswsT98p/KF5pG9phO6gHhFowNs8hZ+xwpk4wy24pwJVf
5Se+P6gFF+UzvqZYLtHmDpxnx4AsswZt3RSKhxdneM4n+dcbZl2+wOrlixB0Eq1m
vsMIyJfS7a82cynkuwSLMYjxxxqvzRYHpOfc7KE7oGhCGJdYM/evEkrEi4iZBcvg
QDRPjPoqeAtfrMdcAO4ev6wEPJwdtZc/fwGu9tfulWsp1Qf6ULMRnHElzitZNdcv
vppOMoS9/PPv1EzhTvLD3BID6JTrWotevVeYpN8Tdr4we5HaUdqjjIyXp/dwpCfh
XWq2brxr1slTKNHWfFGyg0ZUYsjazQTuC8x9VYFonW4tUPJvDwOG+R7uYuq2F39P
Z02RRbhdP6SJsoCF5IkD1Kw1No+4YwVWoedFShaho0K33Ptknm/MBydRlcmzLVB8
KGLdRHKLIQq60C6L7AaQt1A4sPDYgpdPOS4VXvYpfIUcIJcXeDE=
=vHiW
-----END PGP SIGNATURE-----

--KgkkJ0JjAtxbHxnB--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Yfo3i9Yy/uCUpss1>