After spdk_bdev_reset() call, IO operations a still permitted on the same channel
ssunder at xilinx.com
I have performed some experiments to understand the behavior of IO operations after spdk_bdev_reset(). I used hello_bdev example for this purpose and I concluded the bdev reset has no impact on IO operation issued on the same channel. I thought once the reset is issued, the bdev layer should reject all new bdev read/write requests including inflight requests but it is not happening.
Can someone explain what is the expectation from spdk_bdev_reset() and how it supposed to work ?
Walker
Quoted 7 lines
-----Original Message-----
From: ssunder(a)xilinx.com <ssunder(a)xilinx.com>
Sent: Thursday, October 29, 2020 12:05 AM
To: spdk(a)lists.01.org
Subject: [SPDK] Afterspdk_bdev_reset()call, IO operations a still permitted on the same channel
Quoted 8 lines
I have performed some experiments to understand the behavior of IO operations after
spdk_bdev_reset(). I usedhello_bdevexample for this purpose and I concluded the bdev reset has no impact on IO operation issued on the same channel. I thought once the reset is issued, the bdev layer should reject all new bdev read/write requests including inflight requests but it is not happening.Can someone explain what is the expectation from
spdk_bdev_reset()and how it supposed to work ?
The I/O gets aborted from the physical hardware, but SPDK automatically resubmits it once the reset is complete.
Quoted 3 lines
_______________________________________________
SPDK mailing list -- spdk(a)lists.01.org
To unsubscribe send an email to spdk-leave(a)lists.01.org