Re: [PATCH] 2.4.19 revert block_llseek behavior to standard

From: Christoph Hellwig (hch@infradead.org)
Date: Mon Aug 12 2002 - 11:46:34 EST


On Mon, Aug 12, 2002 at 12:06:59PM -0400, Phil Auld wrote:
> Hi Al,
> I think this falls under the VFS umbrella, but I may be wrong.
>
> Below is a fix to make block_llseek behave as specified in the Single Unix Spec. v3.
> (http://www.unix-systems.org/single_unix_specification/). It's extremely trivial but
> may have political baggage.

Have you tested when you actually seek over the size of a block device?
Stupid standards aside: what is the purpose of this? blockdevices won't
grow bigger if you seek beyond them..

Did any Linux implementation ever follow the standard (as you rewrite
reverse)? What's the behaviour of other unix systems when seeking
beyond the end of block devices?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 15 2002 - 22:00:28 EST