]> www.infradead.org Git - qemu-nvme.git/commit
hw/nvme: add noop cq polling iothread
authorKlaus Jensen <k.jensen@samsung.com>
Wed, 15 Feb 2023 20:08:21 +0000 (21:08 +0100)
committerKlaus Jensen <k.jensen@samsung.com>
Thu, 8 Jun 2023 19:15:39 +0000 (21:15 +0200)
commite7c2cbc1d9e1b53fe6eb5bd07c78e192e6c83dff
tree6d887bf6bc19ff33f275c915230aa3c731e9f136
parentc98925f7c640d3e594222620e7e2b8dc31fcb900
hw/nvme: add noop cq polling

Add noop polling. The io_poll function always returns false, since there
is nothing obvious to do. We could use this to suppress cq doorbells,
but the benefit is not clear.

For some reason this improves IOPS. Why?

Signed-off-by: Jinhao Fan <fanjinhao21s@ict.ac.cn>
[k.jensen: split from previous patch]
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
hw/nvme/ctrl.c