Subject: Re: wd, disk write cache, sync cache, and softdep.
To: Steven M. Bellovin <smb@research.att.com>
From: Bill Studenmund <wrstuden@netbsd.org>
List: tech-kern
Date: 12/16/2004 12:06:08
--MW5yreqqjyrRcusr
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Dec 16, 2004 at 01:35:43PM -0500, Steven M. Bellovin wrote:
> In message <20041216182737.GA8856@netbsd.org>, Bill Studenmund writes:
> >
>=20
> >
> >I think it'd be better to add a "Force Unit Access" attribute to writes,
> >and have them set when we need the write to bypass the cache. Among other
> >things, this action will directly map to SCSI command semantics (i.e. you
> >fix the problem for both SCSI and IDE drives).
>=20
> But under what conditions should higher layers set this flag?

Metadata updates.

If the upper level really cares about ordering, it should set this flag.

Take care,

Bill

--MW5yreqqjyrRcusr
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQFBweqwWz+3JHUci9cRAq/eAKCILageWSZsZu5ubIauFxDv6jXhbACfaWyb
49hB5qnfZIBWJdPEhXBkzPU=
=AWvM
-----END PGP SIGNATURE-----

--MW5yreqqjyrRcusr--