OpenVZ / Virtuozzo kernel development (devel@openvz.org)
 help / color / mirror / Atom feed
* [Devel] [PATCH hci-8.1 v2 0/1] block: let container root set the block size of and flush its device
@ 2026-10-22  2:25 Eva Kurchatova
  2026-10-22  2:25 ` [Devel] [PATCH hci-8.1 v2 1/1] " Eva Kurchatova
  0 siblings, 1 reply; 5+ messages in thread
From: Eva Kurchatova @ 2026-10-22  2:25 UTC (permalink / raw)
  To: khorenko; +Cc: devel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-10-29 15:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-22  2:25 [Devel] [PATCH hci-8.1 v2 0/1] block: let container root set the block size of and flush its device Eva Kurchatova
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox