Message ID | cover.1713550368.git.josef@toxicpanda.com (mailing list archive) |
---|---|
Headers | show |
Series | btrfs: snapshot delete cleanups | expand |
On Fri, Apr 19, 2024 at 02:16:55PM -0400, Josef Bacik wrote: > Hello, > > In light of the recent fix for snapshot delete I looked around at the code to > see if it could be cleaned up. I still feel like this could be reworked to make > the two stages clearer, but this series brings a lot of cleanups and > re-factoring as well as comments and documentation that hopefully make this code > easier for others to work in. I've broken up the do_walk_down() function into > discreet peices that are better documented and describe their use. I've also > taken the opportunity to remove a bunch of BUG_ON()'s in this code. I've run > this through the CI a few times as I made a couple of errors, but it's passing > cleanly now. Thanks, We're past rc5, this series looks generally ok to me so I'd rather get it merged to for-next. We can do minor refinements later (either still within for-next or as separate cleanup pass). There are some comments so I'd not send rev-by for the whole series but consider it as such. My testing did not hit any problems either.