Skip to contentSkip to conversation

After spdk_bdev_reset() call, IO operations a still permitted on the same channel

SPDK ssunder at xilinx.com 1 participant 2 messages Oct 29, 2020 – Oct 30, 2020

lore
Share & tools
lore

ssunder at xilinx.com

#0 lore raw

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 ?

#1 lore raw
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] After spdk_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 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 ?

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