Re: fiemap is broken for sparse file in ext4?

From: Eric Sandeen
Date: Fri Jun 11 2010 - 11:47:24 EST

Tao Ma wrote:

>> What are you using to call fiemap? Here it seems to be working:
> I just wrote a simple test program by calling ioctl. It is attached.
> btw, you need to call it immediately after dd so that we have a chance
> that ext4 don't have time to allocate extents. ;)

OK I take it back, I do see it. *cough* too many different filesystems
on this box ... ;)

Yes, it does look like a bug.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at