Subject: Re: letting userland issue FUA writes
To: Joachim K?nig-Baltes <>
From: Bill Studenmund <>
List: tech-kern
Date: 03/16/2006 08:42:35
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)
> 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=
that behavior. :-(

Take care,


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

Version: GnuPG v1.2.3 (NetBSD)