diff options
author | Brian Behlendorf <[email protected]> | 2011-06-03 14:13:25 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2011-06-03 14:38:25 -0700 |
commit | 608860b6d06aaaa647e03fc3f3fc1b49f025155e (patch) | |
tree | 7dc31fbe8f463eeaf8b29790b0b9976560d2662d /scripts/zfs.sh | |
parent | 36391312afdfac5584ca40ef1af7721108ce4c20 (diff) |
Delay before destroying loopback devices
Generally I don't approve of just adding an arbitrary delay to
avoid a problem but in this case I'm going to let it slide. We
may need to delay briefly after 'zpool destroy' returns to ensure
the loopback devices are closed. If they aren't closed than
losetup -d will not be able to destroy them. Unfortunately,
there's no easy state the check so we'll have to make due with
a simple delay.
Diffstat (limited to 'scripts/zfs.sh')
0 files changed, 0 insertions, 0 deletions