All Virtuozzo development lists (kernel + QEMU)
 help / color / mirror / Atom feed
From: Konstantin Khorenko <khorenko@virtuozzo.com>
To: "Denis V. Lunev" <den@openvz.org>
Cc: devel@openvz.org
Subject: Re: [Devel] [PATCH hci-8.1 0/2] ve/vtty: wait for a closing CT tty in the kernel, drop the EAGAIN return
Date: Tue, 03 Nov 2026 16:54:58 +0100	[thread overview]
Message-ID: <179372129814.2495604.15444700675719579090.b4-ty@b4> (raw)
In-Reply-To: <20261102171504.3809155-1-den@openvz.org>

On Mon, 02 Nov 2026 18:15:02 +0100, Denis V. Lunev wrote:
> ve/vtty: wait for a closing CT tty in the kernel, drop the EAGAIN return
> 
> Konstantin pointed out that the applied "ve/vtty: fix console attach
> failing with EBUSY while the CT closes the tty" fixes the race only
> for a vzctl which retries on EAGAIN, and every vzctl in the field
> does not. Following his suggestion, this series replaces it with a
> wait inside vtty_open_master(), as tty_open() does since
> 7f22f6c935cd. Patch 1 reverts the EAGAIN return, patch 2 waits for
> the closing pair. The vzctl change "vzctl console: retry opening a
> CT tty the CT is still closing" is no longer needed.
> 
> [...]

Applied to branch-rh10-6.12.0-211.52.1.22.x.vz10-ovz, will be released in rh10-6.12.0-211.52.1.22.17.vz10, thanks!

[1/2] Revert "ve/vtty: fix console attach failing with EBUSY while the CT closes the tty"
      https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/a47aff57a16b
[2/2] ve/vtty: wait for a closing CT tty instead of failing the console attach
      https://bitbucket.org/virtuozzocore/vzkernel.vzs/commits/7377f791d287

-- 
Konstantin Khorenko,
Virtuozzo Linux Kernel Team


_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

      parent reply	other threads:[~2026-11-03 15:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-29 22:35 [Devel] [PATCH hci-8.1] ve/vtty: fix console attach failing with EBUSY while the CT closes the tty Denis V. Lunev
2026-10-29 22:38 ` no-reply
2026-11-02 10:41 ` Konstantin Khorenko
2026-11-02 10:42 ` Konstantin Khorenko
2026-11-02 15:17 ` Konstantin Khorenko
2026-11-02 17:15   ` [Devel] [PATCH hci-8.1 0/2] ve/vtty: wait for a closing CT tty in the kernel, drop the EAGAIN return Denis V. Lunev
2026-11-02 17:15     ` [Devel] [PATCH hci-8.1 1/2] Revert "ve/vtty: fix console attach failing with EBUSY while the CT closes the tty" Denis V. Lunev
2026-11-02 17:48       ` no-reply
2026-11-02 17:15     ` [Devel] [PATCH hci-8.1 2/2] ve/vtty: wait for a closing CT tty instead of failing the console attach Denis V. Lunev
2026-11-02 17:51       ` no-reply
2026-11-02 18:09       ` Vladimir Riabchun
2026-11-03 12:42         ` Denis V. Lunev
2026-11-03 15:54     ` Konstantin Khorenko [this message]

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=179372129814.2495604.15444700675719579090.b4-ty@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.