diff options
author | Brian Behlendorf <[email protected]> | 2016-06-20 14:28:51 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2016-08-30 15:26:14 -0700 |
commit | e623aea2ec11b4e3da8ddec50634be6e0be14eaf (patch) | |
tree | 3f59aa864827437237ed808a653436c8424bc2d5 /man/man1 | |
parent | 2158b165ed02178a58540b55eca828d32977147c (diff) |
Add log_must_{retry,busy} helpers
Add helpers which automatically retry the provided command when
the error message matches the provided keyword. This provides an
easy way to handle the asynchronous nature of some ZFS commands.
For example, the `zfs destroy` command may need to be retried in
the case where the block device is unexpected busy. This can be
accomplished as follows:
log_must_busy $ZFS destroy ...
Signed-off-by: Brian Behlendorf <[email protected]>
Issue #5002
Diffstat (limited to 'man/man1')
0 files changed, 0 insertions, 0 deletions