Re: [PATCH] hw/block/nvme: drain namespaces on sq deletion

2021-02-11 Thread Klaus Jensen
On Feb 11 22:49, Minwoo Im wrote: > On 21-02-11 13:07:08, Klaus Jensen wrote: > > On Feb 11 11:49, Minwoo Im wrote: > > > On 21-01-27 14:15:05, Klaus Jensen wrote: > > > > From: Klaus Jensen > > > > > > > > For most commands, when issuing an AIO, the BlockAIOCB is stored in the > > > > NvmeReques

Re: [PATCH] hw/block/nvme: drain namespaces on sq deletion

2021-02-11 Thread Minwoo Im
On 21-02-11 13:07:08, Klaus Jensen wrote: > On Feb 11 11:49, Minwoo Im wrote: > > On 21-01-27 14:15:05, Klaus Jensen wrote: > > > From: Klaus Jensen > > > > > > For most commands, when issuing an AIO, the BlockAIOCB is stored in the > > > NvmeRequest aiocb pointer when the AIO is issued. The purp

Re: [PATCH] hw/block/nvme: drain namespaces on sq deletion

2021-02-11 Thread Klaus Jensen
On Feb 11 11:49, Minwoo Im wrote: > On 21-01-27 14:15:05, Klaus Jensen wrote: > > From: Klaus Jensen > > > > For most commands, when issuing an AIO, the BlockAIOCB is stored in the > > NvmeRequest aiocb pointer when the AIO is issued. The purpose of storing > > this is to allow the AIO to be canc

Re: [PATCH] hw/block/nvme: drain namespaces on sq deletion

2021-02-10 Thread Minwoo Im
On 21-01-27 14:15:05, Klaus Jensen wrote: > From: Klaus Jensen > > For most commands, when issuing an AIO, the BlockAIOCB is stored in the > NvmeRequest aiocb pointer when the AIO is issued. The purpose of storing > this is to allow the AIO to be cancelled when deleting submission > queues (it is

Re: [PATCH] hw/block/nvme: drain namespaces on sq deletion

2021-02-10 Thread Klaus Jensen
On Jan 27 14:15, Klaus Jensen wrote: > From: Klaus Jensen > > For most commands, when issuing an AIO, the BlockAIOCB is stored in the > NvmeRequest aiocb pointer when the AIO is issued. The purpose of storing > this is to allow the AIO to be cancelled when deleting submission > queues (it is curr

[PATCH] hw/block/nvme: drain namespaces on sq deletion

2021-01-27 Thread Klaus Jensen
From: Klaus Jensen For most commands, when issuing an AIO, the BlockAIOCB is stored in the NvmeRequest aiocb pointer when the AIO is issued. The purpose of storing this is to allow the AIO to be cancelled when deleting submission queues (it is currently not used for Abort). Since the addition of