Page size andFS blocksize
Hi,
I was browsing the block device read/write code in fs/buffer.c (kernel
version 2.4.18).
Quoted 1 line
From waht I understood, there is an implicit assumption that
filesystem block sizes
are never more than the size of a single page. I say this because I couldn't figure
out how to specify if the page being read is part of a block. (The buffer_head structure
has no member that says 'offset within the block').
Have I read the code right, or am I missing something? And has this
changed in
2.5?
-Thanks,
Ravi.
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/
Hi,
Quoted 5 lines · Ravi
I was browsing the block device read/write code in
fs/buffer.c(kernel
version 2.4.18).Quoted 1 line
From waht I understood, there is an implicit assumption that
filesystem block sizes
are never more than the size of a single page.
Correct.
Quoted 3 lines
And has this
changed in
2.5?
No.
Cheers,
Stephen
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/
Quoted 7 lines
Quoted 5 lines
I was browsing the block device read/write code in
fs/buffer.c(kernel version 2.4.18). From waht I understood, there is an implicit assumption that filesystem block sizes are never more than the size of a single page.Correct.
Why is this so? Is it because filesystems cannot
read/write parts of a block? Or is it just that
there is no use for such a feature?
-Thanks,
Ravi.
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/