Re: Alignment of disk-I/O from userland.
From: Sam Leffler (sam_at_errno.com)
Date: 10/07/03
- Previous message: Don Lewis: "Re: Alignment of disk-I/O from userland."
- In reply to: Poul-Henning Kamp: "Re: Alignment of disk-I/O from userland."
- Next in thread: Poul-Henning Kamp: "Re: Alignment of disk-I/O from userland."
- Reply: Poul-Henning Kamp: "Re: Alignment of disk-I/O from userland."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: "Poul-Henning Kamp" <phk@phk.freebsd.dk>, Scott Long <scottl@freebsd.org> Date: Mon, 6 Oct 2003 17:53:28 -0700
On Monday 06 October 2003 04:11 pm, Poul-Henning Kamp wrote:
> In message <20031006163218.L55190@pooker.samsco.home>, Scott Long writes:
...stuff deleted...
> >As for returning an error code for a buffer that we (arbitrarily) believe
> >to be too big to align, [...]
>
> I have never advocated returning an error based on "alignment and size",
> only based on alignment alone.
Imposing this restriction is a major semantic change that I consider a very
bad idea. You are basically imposing the semantics of O_DIRECT on all i/o
operations going to a device. I think it is important to give best effort to
support unaligned operations `by default. I can imagine restricting this to
some upper size bound but existing applications, regardless of how well you
consider them to be written, must continue to work.
Sam
_______________________________________________
freebsd-arch@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Don Lewis: "Re: Alignment of disk-I/O from userland."
- In reply to: Poul-Henning Kamp: "Re: Alignment of disk-I/O from userland."
- Next in thread: Poul-Henning Kamp: "Re: Alignment of disk-I/O from userland."
- Reply: Poul-Henning Kamp: "Re: Alignment of disk-I/O from userland."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|