From: Ming Lei <ming.lei@redhat.com>
To: linux-block@vger.kernel.org, virtualization@lists.linux.dev,
linux-nvme@lists.infradead.org
Cc: ming.lei@redhat.com
Subject: [Report] requests are submitted to hardware in reverse order from nvme/virtio-blk queue_rqs()
Date: Wed, 24 Jan 2024 19:59:54 +0800 [thread overview]
Message-ID: <ZbD7ups50ryrlJ/G@fedora> (raw)
Hello,
Requests are added to plug list in reverse order, and both virtio-blk
and nvme retrieves request from plug list in order, so finally requests
are submitted to hardware in reverse order via nvme_queue_rqs() or
virtio_queue_rqs, see:
io_uring submit_bio vdb 6302096 4096
io_uring submit_bio vdb 12235072 4096
io_uring submit_bio vdb 7682280 4096
io_uring submit_bio vdb 11912464 4096
io_uring virtio_queue_rqs vdb 11912464 4096
io_uring virtio_queue_rqs vdb 7682280 4096
io_uring virtio_queue_rqs vdb 12235072 4096
io_uring virtio_queue_rqs vdb 6302096 4096
May this reorder be one problem for virtio-blk and nvme-pci?
Thanks,
Ming
next reply other threads:[~2024-01-24 12:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-24 11:59 Ming Lei [this message]
2024-01-24 15:41 ` [Report] requests are submitted to hardware in reverse order from nvme/virtio-blk queue_rqs() Keith Busch
2024-01-24 22:32 ` Damien Le Moal
2024-01-25 4:23 ` Ming Lei
2024-01-25 15:33 ` Jens Axboe
2024-01-26 14:10 ` Christoph Hellwig
2024-10-07 22:39 ` Bart Van Assche
2024-10-08 11:33 ` Christoph Hellwig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZbD7ups50ryrlJ/G@fedora \
--to=ming.lei@redhat.com \
--cc=linux-block@vger.kernel.org \
--cc=linux-nvme@lists.infradead.org \
--cc=virtualization@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.