[Devel] [PATCH vz9 00/10] resurrect feature fs/[ext4, xfs]: fast online shrink support

Konstantin Khorenko khorenko at virtuozzo.com
Thu Nov 28 19:51:44 MSK 2024


ploop images are used for iSCSI scenario implementation in vStorage
and in Incus Containers scenario, both of them benefit from the ploop
online shrink feature.

https://virtuozzo.atlassian.net/browse/PSBM-159828

Kirill Tkhai (5):
  fs: Revert ee1904ba44bd "make alloc_file() static"
  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

Konstantin Khorenko (2):
  ext4: Provide a balloon nipple for management
  FD: fs/ext4: fast online shrink support

Maxim V. Patlasov (3):
  ext4: Teach the fs where the balloon inode is
  ext4: Teach statfs to report reduced disk usage
  ext4: Don't show the active balloon to user

 .../fs-ext4-fast_online_shrink_support.rst    | 113 ++++++++++++++++++
 .../fs-xfs-fast_online_shrink_support.rst     |   1 +
 fs/ext4/dir.c                                 |  15 ++-
 fs/ext4/ext4.h                                |   3 +
 fs/ext4/ioctl.c                               |  60 ++++++++++
 fs/ext4/namei.c                               |   9 ++
 fs/ext4/super.c                               |  95 ++++++++++++++-
 fs/file_table.c                               |   3 +-
 fs/inode.c                                    |   1 +
 fs/xfs/libxfs/xfs_da_btree.h                  |   1 +
 fs/xfs/libxfs/xfs_dir2_priv.h                 |   1 +
 fs/xfs/libxfs/xfs_fs.h                        |   1 +
 fs/xfs/xfs_dir2_readdir.c                     |  23 +++-
 fs/xfs/xfs_file.c                             |   2 +-
 fs/xfs/xfs_inode.c                            |   4 +
 fs/xfs/xfs_ioctl.c                            |  63 ++++++++++
 fs/xfs/xfs_iops.c                             |   4 +
 fs/xfs/xfs_mount.h                            |   2 +
 fs/xfs/xfs_super.c                            |  79 ++++++++++++
 fs/xfs/xfs_super.h                            |   2 +
 include/linux/file.h                          |   2 +
 21 files changed, 479 insertions(+), 5 deletions(-)
 create mode 100644 Documentation/Virtuozzo/FeatureDescriptions/fs-ext4-fast_online_shrink_support.rst
 create mode 120000 Documentation/Virtuozzo/FeatureDescriptions/fs-xfs-fast_online_shrink_support.rst

-- 
2.43.5



More information about the Devel mailing list