nvmf: Sync before unloading the NVMf initiator
This is a bit heavy handed, but really make sure all activity has ceased. Change-Id: Iaa1ce16fd9e059f9eaec6712226344d69075b243 Signed-off-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
828dca7351
commit
9113e6a949
@ -81,6 +81,9 @@ function allocate_nic_ips()
|
|||||||
|
|
||||||
function nvmfcleanup()
|
function nvmfcleanup()
|
||||||
{
|
{
|
||||||
|
sync
|
||||||
|
sleep 5
|
||||||
|
sync
|
||||||
rmmod nvme-rdma
|
rmmod nvme-rdma
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user