Messages in this thread | | | From | Peter Chubb <> | Date | Thu, 27 Jun 2002 06:53:12 +1000 | Subject | RE: [PATCH] new large-block-device patch available |
| |
>>>>> "Amit" == Amit Agrawal <Amit> writes:
Amit> Hi Peter I think some places in files 'pagemap.h' and Amit> 'filemap.c' still uses unsigned long instead of sector_t,these Amit> files are not touched by your patch, please see to it........
The `index' in pagemap.h and filemap.c is an index into the pagecache, not a disk offset --- so it stays as unsigned long. I think there are plans to change it to `pgoff_t', or to change the size of an object in the pagecacheat some stage, but for now the pagecache on a 32-bit architecture is limited to addressing ((2^32)-1) * PAGECACHE_SIZE, which makes a limit of 16TB on 32-bit architectures at present.
-- Dr Peter Chubb peterc@gelato.unsw.edu.au You are lost in a maze of BitKeeper repositories, all almost the same.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |