tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Exposing FUA as alternative to DIOCCACHESYNC for WAPBL
2017-03-31 22:16 GMT+02:00 Thor Lancelot Simon <tls%panix.com@localhost>:
> It's not obvious, but in fact ORDERED gets set for writes
> as a default, I believe -- in sd.c, I think?
>
> This confused me for some time when I last looked at it.
It confused me also, that's why I changed the code a while back to be
less confusing :)
It used to be easy to draw conclusion that we use ORDERED all the
time, as that was default if tag flag was unset. But in fact sd(4) and
cd(4) always set XS_CTL_SIMPLE_TAG explicitely, so it was actually
always SIMPLE.
scsipi_base.c
revision 1.166
date: 2016-10-02 21:40:35 +0200; author: jdolecek; state: Exp;
lines: +4 -4; commitid: iiAGFJk9looTyBoz;
change scsipi_execute_xs() to default to simple tags for !XS_CTL_URGENT
if not specified by caller; this is mostly for documentation purposes
only, as sd(4) and cd(4) explicitly use simple tags already
Jaromir
Home |
Main Index |
Thread Index |
Old Index