On 21.10.2021 21:32, Cyrill Gorcunov wrote:
> From: Cyrill Gorcunov
>
> We can get rid of sprintf usage when encoding the status.
> Just fill the string directly.
>
> Cc: Kirill Tkhai
> Signed-off-by: Cyrill Gorcunov
Acked-by: Kirill TKhai
> ---
> drivers/md/dm-ploop-target.c | 13 ++
The commit is pushed to "branch-rh9-5.14.vz9.1.x-ovz" and will appear at
https://src.openvz.org/scm/ovz/vzkernel.git
after rh9-5.14.0-4.vz9.10.15
-->
commit e95d79f136fef16c7a0573122f52ed23321862d3
Author: Konstantin Khorenko
Date: Fri Oct 22 12:44:34 2021 +0300
Revert "sysctl: return
On container(ve) start "virtualized" (is_virtualized_cgroup() == true)
root cgroups of container are checked to insure that each container has
own non intersecting set of those cgroup directories.
We don't check all cgroups because new named empty cgroups can be
created on host at any moment and v
Note, that xfs_readdir() may be called from many
places. To underline the case, when it's called
from normal readdir syscalls (not from xfs service
functionality), and to avoid to add a new argument
to xfs_readdir(), we introduce a special value:
XFS_FAKE_TRANS_IGNORE_BALLOON.
Signed-off-by: Kiril
This adds balloon_ino=XXX mount option for xfs.
Signed-off-by: Kirill Tkhai
---
fs/xfs/xfs_mount.h |2 +
fs/xfs/xfs_super.c | 79
fs/xfs/xfs_super.h |2 +
3 files changed, 83 insertions(+)
diff --git a/fs/xfs/xfs_mount.h b/fs/xfs/xf
https://jira.sw.ru/browse/PSBM-133811
---
Kirill Tkhai (4):
xfs: Teach the fs where the balloon inode is
xfs: Never show balloon in readdir results
xfs: Don't show the active balloon to user
xfs: Provide a balloon nipple for management
fs/xfs/libxfs/xfs_da_btree.h |
A new ioctl() to open balloon file.
Signed-off-by: Kirill Tkhai
---
fs/xfs/libxfs/xfs_fs.h |1 +
fs/xfs/xfs_ioctl.c | 63
2 files changed, 64 insertions(+)
diff --git a/fs/xfs/libxfs/xfs_fs.h b/fs/xfs/libxfs/xfs_fs.h
index bde2b4c64dbe.
Prohibit a notpriviliged user to reach balloon.
Prohibit everything to unlink it.
Signed-off-by: Kirill Tkhai
---
fs/xfs/xfs_inode.c |4
fs/xfs/xfs_iops.c |4
2 files changed, 8 insertions(+)
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c
index 990b72ae3635..32f99876dc1