aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/vdev_indirect.c
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2018-08-31 15:30:44 -0700
committerGitHub <[email protected]>2018-08-31 15:30:44 -0700
commitbb91178e60df553071ce2e18b0067ef703f7b583 (patch)
tree96e1c6c75c0fc58f72bb54b6cdbc11a376081c31 /module/zfs/vdev_indirect.c
parente927fc8a522e1c0db89955cc555841aa23bbd634 (diff)
ZTS: Fix EBUSY volume destroy failures
It's possible for an unrelated process, like blkid, to have the volume open when 'zfs destroy' is run. Switch the cleanup functions to the destroy_dataset() helper which handles this case by retrying the destroy when the dataset is busy. This was done not only for volumes but also for file systems for consistency. Reviewed-by: Richard Elling <[email protected]> Reviewed-by: George Melikov <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #7854
Diffstat (limited to 'module/zfs/vdev_indirect.c')
0 files changed, 0 insertions, 0 deletions