From: Francesco Lavra <francescolavra.fl@gmail.com>
To: Max Gurtovoy <mgurtovoy@nvidia.com>,
Marek Szyprowski <m.szyprowski@samsung.com>,
stefanha@redhat.com, virtualization@lists.linux.dev,
mst@redhat.com, axboe@kernel.dk
Cc: kvm@vger.kernel.org, linux-block@vger.kernel.org, oren@nvidia.com
Subject: Re: [PATCH v2] virtio_blk: implement init_hctx MQ operation
Date: Tue, 24 Sep 2024 10:06:29 +0200 [thread overview]
Message-ID: <f786e134a018004820fd147053e4eae722a6004f.camel@gmail.com> (raw)
In-Reply-To: <17b866cb-c892-4ebd-bfb9-c97b3b95d67f@nvidia.com>
On Mon, 2024-09-23 at 01:47 +0300, Max Gurtovoy wrote:
>
> On 17/09/2024 17:09, Marek Szyprowski wrote:
> > Hi Max,
> >
> > On 17.09.2024 00:06, Max Gurtovoy wrote:
> > > On 12/09/2024 9:46, Marek Szyprowski wrote:
> > > > Dear All,
> > > >
> > > > On 08.08.2024 00:41, Max Gurtovoy wrote:
> > > > > Set the driver data of the hardware context (hctx) to point
> > > > > directly to
> > > > > the virtio block queue. This cleanup improves code
> > > > > readability and
> > > > > reduces the number of dereferences in the fast path.
> > > > >
> > > > > Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
> > > > > Signed-off-by: Max Gurtovoy <mgurtovoy@nvidia.com>
> > > > > ---
> > > > > drivers/block/virtio_blk.c | 42
> > > > > ++++++++++++++++++++------------------
> > > > > 1 file changed, 22 insertions(+), 20 deletions(-)
> > > > This patch landed in recent linux-next as commit 8d04556131c1
> > > > ("virtio_blk: implement init_hctx MQ operation"). In my tests I
> > > > found
> > > > that it introduces a regression in system suspend/resume
> > > > operation. From
> > > > time to time system crashes during suspend/resume cycle.
> > > > Reverting this
> > > > patch on top of next-20240911 fixes this problem.
> > > Could you please provide a detailed explanation of the system
> > > suspend/resume operation and the specific testing methodology
> > > employed?
> > In my tests I just call the 'rtcwake -s10 -mmem' command many times
> > in a
> > loop. I use standard Debian image under QEMU/ARM64. Nothing really
> > special.
>
> I run this test on my bare metal x86 server in a loop with fio in the
> background.
>
> The test passed.
If your kernel is running on bare metal, it's not using the virtio_blk
driver, is it?
next prev parent reply other threads:[~2024-09-24 8:06 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20240912064617eucas1p1c3191629f76e04111d4b39b15fea350a@eucas1p1.samsung.com>
2024-08-07 22:41 ` [PATCH v2] virtio_blk: implement init_hctx MQ operation Max Gurtovoy
2024-08-08 6:53 ` John Garry
2024-08-08 13:37 ` Jens Axboe
2024-08-12 11:15 ` Christoph Hellwig
2024-09-12 6:46 ` Marek Szyprowski
2024-09-12 6:57 ` Michael S. Tsirkin
2024-09-16 22:06 ` Max Gurtovoy
2024-09-17 14:09 ` Marek Szyprowski
2024-09-22 22:47 ` Max Gurtovoy
2024-09-24 8:06 ` Francesco Lavra [this message]
2024-09-24 8:11 ` Max Gurtovoy
2024-09-24 10:26 ` Marek Szyprowski
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=f786e134a018004820fd147053e4eae722a6004f.camel@gmail.com \
--to=francescolavra.fl@gmail.com \
--cc=axboe@kernel.dk \
--cc=kvm@vger.kernel.org \
--cc=linux-block@vger.kernel.org \
--cc=m.szyprowski@samsung.com \
--cc=mgurtovoy@nvidia.com \
--cc=mst@redhat.com \
--cc=oren@nvidia.com \
--cc=stefanha@redhat.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).