e8f382b8 | 10-Jan-2024 |
Jim Harris <jim.harris@samsung.com> |
nbd: fix hot remove path
If block device is removed, we need to allow outstanding I/O to complete normally rather than moving them to processing_io_list - otherwise we get double completion errors.
nbd: fix hot remove path
If block device is removed, we need to allow outstanding I/O to complete normally rather than moving them to processing_io_list - otherwise we get double completion errors.
Fixes issue #3163.
Signed-off-by: Jim Harris <jim.harris@samsung.com> Change-Id: If5d57e372527ef1297a1afb807522d14b8041fd9 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/21374 Community-CI: Mellanox Build Bot Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
ab5cc9dd | 25-May-2021 |
MengjinWu <mengjin.wu@intel.com> |
lib/nbd: refine _nbd_fini process
_nbd_fini will make all NBDs into closing state. remove _nbd_async, beasue it will call asynchronous error.
Signed-off-by: MengjinWu <mengjin.wu@intel.com> Change-
lib/nbd: refine _nbd_fini process
_nbd_fini will make all NBDs into closing state. remove _nbd_async, beasue it will call asynchronous error.
Signed-off-by: MengjinWu <mengjin.wu@intel.com> Change-Id: Ifb873b7f079b735983bdf20c2df652be0a21919f Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8035 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Ziye Yang <ziye.yang@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
22412af1 | 05-Feb-2021 |
Liu Xiaodong <xiaodong.liu@intel.com> |
nbd: get nbd_stop procedure in async
It is possible that nbd pthread is created but not executed, then spdk_nbd_stop is call before nbd_pthread's execution, but nbd pthread starts to execute while n
nbd: get nbd_stop procedure in async
It is possible that nbd pthread is created but not executed, then spdk_nbd_stop is call before nbd_pthread's execution, but nbd pthread starts to execute while nbd is totally stopped.
This patch can get spdk_stop_nbd aligned with nbd pthread.
Change-Id: I57cc92b94d36cd706616c9058134f716f0812892 Signed-off-by: Liu Xiaodong <xiaodong.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6278 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: <dongx.yi@intel.com>
show more ...
|