Re: [PATCH] Fix generic_block_fiemap for files bigger than 4GB

From: Mike Hommey
Date: Thu Oct 29 2009 - 11:20:14 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/