Re: Alignment of disk-I/O from userland.
From: Mark Valentine (mark_at_valentine.me.uk)
Date: 10/07/03
- Previous message: Poul-Henning Kamp: "Re: Alignment of disk-I/O from userland."
- Maybe in reply to: Poul-Henning Kamp: "Alignment of disk-I/O from userland."
- Next in thread: Garrett Wollman: "Re: Alignment of disk-I/O from userland."
- Reply: Garrett Wollman: "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 ]
Date: Mon, 6 Oct 2003 23:20:06 +0000 To: wollman@khavrinen.lcs.mit.edu (Garrett Wollman), phk@phk.freebsd.dk
> From: wollman@khavrinen.lcs.mit.edu (Garrett Wollman)
> Date: Mon 6 Oct, 2003
> Subject: Re: Alignment of disk-I/O from userland.
> I believe that the Standard allows practically arbitrary restrictions
> on what may be done with devices (since most devices, aside from ttys,
> are outside the scope of the Standard anyway). It says that read()
> may fail if:
>
> [ENXIO] A request was made of a nonexistent device, or the request
> was outside the capabilities of the device.
Hmm, but it doesn't say:
[EDOOFUS] A request was made of a nonexistent device, or the request
was outside the capabilities of the device driver writer.
It would be reasonable to enforce such restrictions on a raw device if
we still had block devices around, but it doesn't seem reasonable now.
Cheers,
Mark.
-- "Tigers will do ANYTHING for a tuna fish sandwich." "We're kind of stupid that way." *munch* *munch* -- <http://www.calvinandhobbes.com> _______________________________________________ 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: Poul-Henning Kamp: "Re: Alignment of disk-I/O from userland."
- Maybe in reply to: Poul-Henning Kamp: "Alignment of disk-I/O from userland."
- Next in thread: Garrett Wollman: "Re: Alignment of disk-I/O from userland."
- Reply: Garrett Wollman: "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
|