On Tue, Aug 9, 2011 at 1:50 PM, David Sterba <d...@jikos.cz> wrote: > On Thu, Aug 04, 2011 at 09:19:26AM +0800, Miao Xie wrote: >> > 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. -- 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