Re: [PATCH 1/3] virtio: add virtioqueue_more_used()

2021-05-25 Thread Stefan Hajnoczi
On Tue, May 25, 2021 at 10:23:39AM +0800, Jason Wang wrote: > > 在 2021/5/20 下午10:13, Stefan Hajnoczi 写道: > > Add an API to check whether there are pending used buffers. There is > > already a similar API called virtqueue_poll() but it only works together > > with virtqueue_enable_cb_prepare().

Re: [PATCH 1/3] virtio: add virtioqueue_more_used()

2021-05-24 Thread Jason Wang
在 2021/5/20 下午10:13, Stefan Hajnoczi 写道: Add an API to check whether there are pending used buffers. There is already a similar API called virtqueue_poll() but it only works together with virtqueue_enable_cb_prepare(). The patches that follow add blk-mq ->poll() support to virtio_blk and they

[PATCH 1/3] virtio: add virtioqueue_more_used()

2021-05-20 Thread Stefan Hajnoczi
Add an API to check whether there are pending used buffers. There is already a similar API called virtqueue_poll() but it only works together with virtqueue_enable_cb_prepare(). The patches that follow add blk-mq ->poll() support to virtio_blk and they need to check for used buffers without