Re: [PATCH 2/2] hpfs: optimize quad buffer loading

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

 




On Fri, 31 Jan 2014, Linus Torvalds wrote:

> On Fri, Jan 31, 2014 at 9:41 AM, Mikulas Patocka
> <mikulas@xxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> > On Thu, 30 Jan 2014, Linus Torvalds wrote:
> >>
> >> "consecutive sectors" does not mean "same page".
> >
> > Huh? Let me say it again: we have an 8-sector disk area that is aligned on
> > a page boundary (for example, sector number 24).\
> 
> Mikulas, stop the idiocy.
> 
> I just told you that "consecutive" doesn't matter. And then you start
> arguing about consecutive.
> 
> Read the damn email before you respond, ok?
> 
>           Linus

I don't know what wrong have I said.

Buffer cache is backed by pages from page cache. If we have page size 4k, 
page with index 0 maps sectors 0-7, page with index 1 maps sectors 8-15, 
page with index 2 maps sectors 16-23, page with index 3 maps sectors 24-31 
and so on.

Pages that belong to a file can map non-consecutive area because the file 
may be scattered on the disk. But pages that are used for buffer cache map 
consecutive area.

I don't really know what do you mean?

Mikulas
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux