Page size andFS blocksize

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
 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. 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
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux