diff options
author | Giuseppe Di Natale <[email protected]> | 2017-08-03 08:57:43 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-08-03 08:57:43 -0700 |
commit | e3bdcb8ad88e7a90726193c9afe96a713729c928 (patch) | |
tree | 4ca9a9f0a4cc88c9d05a5558dc9d0ddf81219316 /cmd/zpool/zpool_main.c | |
parent | ecb2b7dc7f8f7273c215fb30c984bde08e75b852 (diff) |
Retry zfs destroy when busy in rsend tests
rsend tests in the test suite frequently create and
destroy datasets. It is possible for zfs destroy to
return an error code indicating the dataset is busy.
Simply use a log_must_busy in these cases to retry
destroying those datasets. Other fixes to rsend test
cases to avoid unmounting and remounting filesystems
and some cleanup.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Giuseppe Di Natale <[email protected]>
Closes #6418
Diffstat (limited to 'cmd/zpool/zpool_main.c')
0 files changed, 0 insertions, 0 deletions