+75
−15
Loading
If occasionally there is unflushed data in kernel, nbd disconnect ioctl will not return, until these data are flushed. spdk_nbd_disk should process these data in flushing. But at present, spdk_nbd_disk is running on a some reactor with rpc. It is a hidden danger of deadlock. Change-Id: I2850105dff78f09f0e1b3c0a570dbbf7efdb469e Signed-off-by:Xiaodong Liu <xiaodong.liu@intel.com> Reviewed-on: https://review.gerrithub.io/391707 Tested-by:
SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com>