Re: O_DIRECT fails in some kernel and FS

From: Chris Mason (mason@suse.com)
Date: Mon Feb 04 2002 - 10:21:05 EST


On Monday, February 04, 2002 10:04:45 AM -0500 Jeff Garzik <jgarzik@mandrakesoft.com> wrote:

> Chris Wedgwood wrote:
>>
>> On Sun, Feb 03, 2002 at 09:05:04AM -0600, Stephen Lord wrote:
>>
>> I agree is is not a big issue in this case - my interpretation of
>> tails was the end of any file could be packed, but if it is only
>> small files.....
>>
>> But you can't mmap (say) a 1k file right now... so right now this
>
> huh? You can mmap a file of any size > 0. Is this a reiserfs
> limitation or something?
>

No, reiserfs can mmap files of size 1k. Data past the end of file is
zerod on write.

-chris

-
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 Feb 07 2002 - 21:00:34 EST