lkml.org 
[lkml]   [2002]   [Jun]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRE: [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/

\
 
 \ /
  Last update: 2005-03-22 13:27    [W:0.030 / U:0.596 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site