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:
Ben Walker 2016-07-11 11:06:55 -07:00 committed by Benjamin Walker
parent 828dca7351
commit 9113e6a949

View File

@ -81,6 +81,9 @@ function allocate_nic_ips()
function nvmfcleanup()
{
sync
sleep 5
sync
rmmod nvme-rdma
}