[Devel] [PATCH hci-8.1 v2 0/1] block: let container root set the block size of and flush its device

Eva Kurchatova eva.kurchatova at virtuozzo.com
Thu Oct 22 05:25:19 MSK 2026


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



More information about the Devel mailing list