[SPDK] Re: After spdk_bdev_reset() call, IO operations a still permitted on the same channel

Walker, Benjamin <benjamin.walker at intel.com>
Newsgroups dev.linux.lists.spdk
Message-ID <BYAPR11MB28244CB159A53EF778C5BE03EF150@BYAPR11MB2824.namprd11.prod.outlook.com>
> -----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
> 
> 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.

> _______________________________________________
> SPDK mailing list -- spdk(a)lists.01.org
> To unsubscribe send an email to spdk-leave(a)lists.01.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.