Re: ext4 ioctl(FIEMAP) bug? observed in 2.6.29.4 (32-bit x86)

From: Mark Lord
Date: Mon Aug 03 2009 - 10:50:48 EST


Aneesh Kumar K.V wrote:
On Sun, Aug 02, 2009 at 05:35:24PM -0400, Mark Lord wrote:
..
2.6.29.4:
The output below shows the sequence of FIEMAP calls
on the single massive file. Notice that the first call
returned the "LAST" flag set, despite there being many
many more extents after that bunch.


Can you try with

commit c9877b205f6ce7943bb95281342f4001cc1c00ec
Author: Eric Sandeen <sandeen@xxxxxxxxxx>
Date: Fri May 1 23:32:06 2009 -0400

ext4: fix for fiemap last-block test
..

Ahh.. good to see it already upstream, thanks.

I cannot easily reproduce the bug, so no re-test here.
And my app (hdparm) simply now ignores the LAST flag as a workaround.

Thanks
--
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/