Am Montag, 22. September 2014, 16:33:56 schrieb Gui Hecheng: > On Mon, 2014-09-22 at 10:19 +0200, Marc Dietrich wrote: > > Hi, > > > > Am Freitag, 19. September 2014, 09:30:30 schrieb Gui Hecheng: > > > On Thu, 2014-09-18 at 12:47 +0000, Zooko Wilcox-OHearn wrote: > > > > Thank you! I will try to restore using this patch. > > > > > > > > What branch of what btrfs tools git repo should I apply the patch to? > > > > > > > > Regards, > > > > > > > > Zooko > > > > > > At least I think the following repo/v3.17.x branch has all > > > restore-related patches included. > > > > > > git://github.com/kdave/btrfs-progs.git > > > > > > This is a mirror of the latest devel repo that I am on. > > > > restore of my corrupted partition finished. No "bad compress" nor valgrind > > errors anymore. I'll close the bug. > > > > Many thanks! > > > > Marc > > Hi Marc, > I'm very glad to hear the result. > I've sent a v2 patch which adopts your idea. I also add your > sign-off-by, please help me to check whether it matches your thoughts, > or more could be done to improve. well, I didn't wrote any code. So it's enough to just add my reviewed-by. Thanks! Marc