]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: allow userspace to rebuild metadata structures
authorDarrick J. Wong <djwong@kernel.org>
Tue, 14 Nov 2023 09:39:26 +0000 (10:39 +0100)
committerCarlos Maiolino <cem@kernel.org>
Tue, 14 Nov 2023 12:32:49 +0000 (13:32 +0100)
commitbe49fa968f98cf797b16aa279b11c431199b3af3
tree019ad5d9e5e16b4adb8122c3e29950cbb7c337df
parent6cfd0b487e7608eb63688ed6918c3f69526cb9f1
xfs: allow userspace to rebuild metadata structures

Source kernel commit: 5c83df2e54b6af870e3e02ccd2a8ecd54e36668c

Add a new (superuser-only) flag to the online metadata repair ioctl to
force it to rebuild structures, even if they're not broken.  We will use
this to move metadata structures out of the way during a free space
defragmentation operation.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
libxfs/xfs_fs.h