On Fri, 03 Oct 2014 14:15:11 +0100
Filipe Manana <fdman...@suse.com> wrote:
> Just tried it and I confirm filefrag's call to ioctl FS_IOC_FIEMAP fails
> with -EEXIST.
> 
> It's actually a known issue affecting any of the 3.17 RCs (except RC1).
> The extent map manipulation/merging is broken for some cases. Try with
> this 2 patches on top of 3.17-rcX:
> 
> https://patchwork.kernel.org/patch/4929981/
> https://patchwork.kernel.org/patch/4945191/

ok, 2nd patch did not apply cleanly, so I just replaced the < with <=.

Otherwise, I can confirm the patches are fixing the issue here.

> Or, alternatively, reverting this patch:
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=51f395ad4058883e4273b02fdebe98072dbdc0d2
> 
> Someone else reported on this list a write/pwrite/writev failure with
> errno EEXIST too (and apparently caused by the same reason).
> 
> This broken extent map handling is serious IMHO, it can make fsync log
> bogus extent items for example, amongst other possible bad and weird things.

Yes, it clearly corrupted by files in a strange way. Please try to get
it into final, or at least -stable if too late.

Marc
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to