From: Konstantin Khorenko <khorenko@virtuozzo.com>
To: "Denis V. Lunev" <den@openvz.org>
Cc: devel@openvz.org
Subject: Re: [Devel] [PATCH hci-8.2 2/2] dm-qcow2: arm enospc_timer under event_lock so suspend leaves none behind
Date: Thu, 19 Nov 2026 17:26:22 +0100 [thread overview]
Message-ID: <179510558224.1461989.6161565545950483590.b4-review@b4> (raw)
In-Reply-To: <20261118233705.3974832-3-den@openvz.org>
Applying with these fixes on my side:
- Item 2 of the cover letter reply: added the Fixes: trailer.
- Item 3 of the cover letter reply: "presuspend finds the qio with the
timer already armed and runs it" -> "presuspend or the armed timer
resubmits the qio".
On Thu, 19 Nov 2026 00:37:05 +0100, Denis V. Lunev wrote:
> qcow2_set_wants_suspend() sets wants_suspend under the same lock, so
> either presuspend finds the qio with the timer already armed and runs
> it, or the endio sees the flag and its caller completes the request.
When the timer handler is running at that moment,
timer_delete_sync_try() returns -1 and presuspend runs nothing: the
re-armed timer resubmits the qio and the suspend waits for the request.
--
Konstantin Khorenko,
Virtuozzo Linux Kernel Team
_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel
next prev parent reply other threads:[~2026-11-19 16:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-18 23:37 [Devel] [PATCH hci-8.2 0/2] dm-qcow2: fix the ENOSPC timer left armed on a removed target Denis V. Lunev
2026-11-18 23:37 ` [Devel] [PATCH hci-8.2 1/2] dm-qcow2: stop enospc_timer and event_work in qcow2_tgt_destroy() Denis V. Lunev
2026-11-18 23:43 ` no-reply
2026-11-19 16:26 ` Konstantin Khorenko
2026-11-18 23:37 ` [Devel] [PATCH hci-8.2 2/2] dm-qcow2: arm enospc_timer under event_lock so suspend leaves none behind Denis V. Lunev
2026-11-18 23:42 ` no-reply
2026-11-19 16:26 ` Konstantin Khorenko [this message]
2026-11-19 8:32 ` [Devel] [PATCH hci-8.2 0/2] dm-qcow2: fix the ENOSPC timer left armed on a removed target Alexander Ivanov
2026-11-19 16:26 ` Konstantin Khorenko
2026-11-19 16:26 ` Konstantin Khorenko
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=179510558224.1461989.6161565545950483590.b4-review@b4 \
--to=khorenko@virtuozzo.com \
--cc=den@openvz.org \
--cc=devel@openvz.org \
/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.