Message ID | 20191204133639.2382-1-jth@kernel.org (mailing list archive) |
---|---|
Headers | show |
Series | remove BUG_ON()s in btrfs_close_one_device() | expand |
On Wed, Dec 04, 2019 at 02:36:37PM +0100, Johannes Thumshirn wrote: > This series attempts to remove the BUG_ON()s in btrfs_close_one_device(). > Therefore some reorganization of btrfs_close_one_device() was needed, to > avoid the memory allocation. > > This series has passed fstests without any deviation from the baseline. > > Changes to v4: > - Clear dev_stat_ccnt on removal (Dave) > - Don't clear BTRFS_DEV_STATE_MISSING and BTRFS_DEV_STATE_FS_METADATA as > they'll be handled elsewhere > - Release extent_io_tree (fstests) Passed fstests, I don't see any other obvious problems so I'll add it to misc-next.