From: Jeff Mahoney Date: Tue, 9 Jul 2013 20:37:21 +0000 (-0400) Subject: btrfs: fall back to global reservation when removing subvolumes X-Git-Tag: v3.12-rc1~40^2~112 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee3441b49092000402748f5345ee0a3d4c8ac04e;p=pandora-kernel.git btrfs: fall back to global reservation when removing subvolumes I recently did some ENOSPC testing that involved filling the disk while create and removing snapshots in a loop. During the test cycle, I ran into an ENOSPC when trying to remove a snapshot, leaving the fs stuck in ENOSPC even after a umount/mount cycle. This patch allow subvolume removal to fall back onto the global block reservation in order to succeed when it would have failed otherwise. Signed-off-by: Jeff Mahoney Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed