lkml.org 
[lkml]   [2009]   [Oct]   [29]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateThu, 29 Oct 2009 16:19:45 +0100
FromMike Hommey <>
SubjectRe: [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


\
 
 \ /
  Last update: 2009-10-29 16:23    [W:0.184 / U:0.000 seconds]
©2003-2009 Jasper Spaans