Messages in this thread |  | | | Date | Thu, 29 Oct 2009 16:19:45 +0100 | | From | Mike Hommey <> | | Subject | Re: [PATCH] Fix generic_block_fiemap for files bigger than 4GB |
On Thu, Oct 29, 2009 at 08:17:01AM -0700, Andrew Morton wrote: > > - struct buffer_head tmp; > > - unsigned int start_blk; > > - long long length = 0, map_len = 0; > > + struct buffer_head map_bh; > > + sector_t start_blk; > > And the bugfix is there. > > Has anyone actually tested this code on large files? Greater than 4G > sectors and greater than 4G pages? >
I tested my patch with 2TB sparse files that would fail without the patch.
I can give a try to Josef's patch if that's necessary.
Mike
|  |