linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Page size andFS blocksize
@ 2002-11-17  7:03 Ravi
  2002-11-18 10:29 ` Stephen C. Tweedie
  0 siblings, 1 reply; 3+ messages in thread
From: Ravi @ 2002-11-17  7:03 UTC (permalink / raw)
  To: kernelnewbies, linux-mm

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
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Page size andFS blocksize
  2002-11-17  7:03 Page size andFS blocksize Ravi
@ 2002-11-18 10:29 ` Stephen C. Tweedie
  2002-11-18 23:54   ` Ravi
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen C. Tweedie @ 2002-11-18 10:29 UTC (permalink / raw)
  To: Ravi; +Cc: kernelnewbies, linux-mm

Hi,

On Sat, Nov 16, 2002 at 11:03:20PM -0800, Ravi wrote:

>  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.

> And has this
> changed in
> 2.5?

No.

Cheers,
 Stephen
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Page size andFS blocksize
  2002-11-18 10:29 ` Stephen C. Tweedie
@ 2002-11-18 23:54   ` Ravi
  0 siblings, 0 replies; 3+ messages in thread
From: Ravi @ 2002-11-18 23:54 UTC (permalink / raw)
  To: Stephen C. Tweedie; +Cc: kernelnewbies, linux-mm

> > 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 majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-11-18 23:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-17  7:03 Page size andFS blocksize Ravi
2002-11-18 10:29 ` Stephen C. Tweedie
2002-11-18 23:54   ` Ravi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox