On Tue, Nov 20, 2018 at 07:56:14PM +0800, Anand Jain wrote: > These two patches were sent as part of > [PATCH 0/9 v2] fix replace-start and replace-cancel racing > before but as these aren't integrated so I am sending these again. > > The patch [1] which is in misc-next, calls btrfs_dev_replace_finishing() > after replace is canceled, so the ret argument passed to the > btrfs_dev_replace_finishing() is -ECANCEL, which is not a real error. > So these patches quieten the warn and error log if its -ECANCEL. > > These should be integrated otherwise we see the WARN_ON and btrfs_error() > after replace cancel. > > [1] > 08bdfc3a0611 btrfs: fix use-after-free due to race between replace start and cancel > > Anand Jain (2): > btrfs: quieten warn if the replace is canceled at finish > btrfs: user requsted replace cancel is not an error Thanks, patches added to misc-next, right after the other dev-replace patches.
