Subject: Re: letting userland issue FUA writes
To: Joachim K?nig-Baltes <joachim.koenig-baltes@emesgarten.de>
From: Bill Studenmund <wrstuden@netbsd.org>
List: tech-kern
Date: 03/16/2006 08:42:35
--bg08WKrSYDhXBjb5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Mar 16, 2006 at 11:07:34PM +1100, Daniel Carosone wrote:
> On Thu, Mar 16, 2006 at 09:23:50AM +0100, Joachim K?nig-Baltes wrote:
> > In addition to fsync(fd) and fdatasync(fd) we also have:
> >=20
> >      fsync_range(int fd, int how, off_t start, off_t length)
>=20
> I'm pretty sure Bill's already familiar with that one :)

Uhm, yes. :-)

Joachim, what Dan's alluding to is the fact that I added that call. :-)

The problem is it's not the exact semantics for what I want. I want FUA=20
down to the array. Among other things, you can have an array that has a=20
Battery-Backed-up-Unit and will write FUA'd writes to the BBU and just=20
pass non-FUA through to the disks. Waiting for after the call can't change=
=20
that behavior. :-(

Take care,

Bill

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

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

iD8DBQFEGZV6Wz+3JHUci9cRAkTGAJ9ibgyyFmVOke4369cJwxwg5crHAwCfTu39
wmNU8yqkPFw3ys0Oh6dRoIE=
=npQu
-----END PGP SIGNATURE-----

--bg08WKrSYDhXBjb5--