Re: [PATCH 2/2] btrfs: save drop_progress if we drop refs at all

2019-02-07 Thread Filipe Manana
On Wed, Feb 6, 2019 at 8:47 PM Josef Bacik wrote: > > Previously we only updated the drop_progress key if we were in the > DROP_REFERENCE stage of snapshot deletion. This is because the > UPDATE_BACKREF stage checks the flags of the blocks it's converting to > FULL_BACKREF, so if we go over a blo

[PATCH 2/2] btrfs: save drop_progress if we drop refs at all

2019-02-06 Thread Josef Bacik
Previously we only updated the drop_progress key if we were in the DROP_REFERENCE stage of snapshot deletion. This is because the UPDATE_BACKREF stage checks the flags of the blocks it's converting to FULL_BACKREF, so if we go over a block we processed before it doesn't matter, we just don't do an