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