On Tue, Aug 9, 2011 at 1:50 PM, David Sterba [off-list ref] wrote:
On Thu, Aug 04, 2011 at 09:19:26AM +0800, Miao Xie wrote:
quoted
quoted
the patch has been applied on top of current linus which contains patches from
both pull requests (ed8f37370d83).
I think it is because the caller didn't reserve enough space.Could you try to
apply the following patch? It might fix this bug.
[PATCH v2] Btrfs: reserve enough space for file clone
http://marc.info/?l=linux-btrfs&m=131192686626576&w=2
Thanks! Yes, it does not crash anymore. Trees reflinked succesfully,
md5sums verified.
This isn't a cross-subvolume problem, I hit the same bug trying to
reflink a pile of files within the same subvolume. I applied the
above patch and retried and it worked correctly.