OpenVZ / Virtuozzo kernel development (devel@openvz.org)
 help / color / mirror / Atom feed
From: Eva Kurchatova <eva.kurchatova@virtuozzo.com>
To: khorenko@virtuozzo.com
Cc: devel@openvz.org
Subject: [Devel] [PATCH hci-8.1 v2 0/1] block: let container root set the block size of and flush its device
Date: Thu, 22 Oct 2026 05:25:19 +0300	[thread overview]
Message-ID: <20261022022554.2427456-1-eva.kurchatova@virtuozzo.com> (raw)

Patch for task https://virtuozzo.atlassian.net/browse/VSTOR-151057

Changes in v2:

- Device in read-only cannot be flushed or have its block size changed
  from CT, depending on cgroup grant. Host path unchanged.
- Device with mounted filesystem denies flush from a container with
  EBUSY. Container syncs its own mounts via the filesystem.
- Host and container told apart by ve_is_super(), not by a failing
  capable().
- Corrected the claims in the commit message.

Link to v1: http://lore.virtuozzo.com/kernel/20261021175410.2339797-1-eva.kurchatova@virtuozzo.com/T/#u

Eva Kurchatova (1):
  block: let container root set the block size of and flush its device

 block/ioctl.c | 27 ++++++++++++++++++++++-----
 1 file changed, 22 insertions(+), 5 deletions(-)

-- 
2.56.0

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

             reply	other threads:[~2026-10-22  2:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-22  2:25 Eva Kurchatova [this message]
2026-10-22  2:25 ` [Devel] [PATCH hci-8.1 v2 1/1] " Eva Kurchatova
2026-10-22  2:29   ` no-reply
2026-10-23 10:52   ` Pavel Tikhomirov
2026-10-29 15:49     ` 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=20261022022554.2427456-1-eva.kurchatova@virtuozzo.com \
    --to=eva.kurchatova@virtuozzo.com \
    --cc=devel@openvz.org \
    --cc=khorenko@virtuozzo.com \
    /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