Message ID | 20191218222029.49178-1-josef@toxicpanda.com (mailing list archive) |
---|---|
Headers | show |
Series | Fix transaction abort when rmdir'ing a subvol | expand |
On Wed, Dec 18, 2019 at 05:20:26PM -0500, Josef Bacik wrote: > btrfs/004 with my new fsstress was sometimes failing with a transaction abort > while trying to remove a root ref. This turned out to be because of how we stub > out subvol links in snapshot'ed subvolumes. The specific steps are detailed in > "btrfs: fix invalid removal of root ref", but they are relatively > straightforward. A xfstest is forthcoming, I want to get an overnight run of > fsstress with these patches in place to make sure there are no other > rename+removal shenanigans left. With these patches we pass my basic test and > no longer abort the transaction. Thanks, Reviewed-by: David Sterba <dsterba@suse.com> As 2 and 3 are the real fixes, independent of 1, I'll queue them for next week's pull request.