]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
mkfs: enable reverse mapping by default
authorDarrick J. Wong <djwong@kernel.org>
Mon, 25 Sep 2023 21:59:30 +0000 (14:59 -0700)
committerCarlos Maiolino <cem@kernel.org>
Thu, 5 Oct 2023 12:57:19 +0000 (14:57 +0200)
Now that online fsck is feature complete, there's actually a compelling
story for having the reverse mappings enabled.  Turn it on by default.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
man/man8/mkfs.xfs.8.in
mkfs/xfs_mkfs.c

index 3a44b92a6a044cced814a6b7561b96e0c5dcee8e..c152546a47d2760575037dbfabf06e9e5399c5dd 100644 (file)
@@ -289,8 +289,8 @@ pinpoint exactly which data has been lost when a disk error occurs.
 .IP
 By default,
 .B mkfs.xfs
-will not create reverse mapping btrees.  This feature is only available
-for filesystems created with the (default)
+will create reverse mapping btrees when possible.
+This feature is only available for filesystems created with the (default)
 .B \-m crc=1
 option set. When the option
 .B \-m crc=0
index a3dcc811304a99c1314127ee54ea27a95401f27f..c522cb4df8bc1ec746a16b7fc0c635b38da5815f 100644 (file)
@@ -4134,7 +4134,7 @@ main(
                        .dirftype = true,
                        .finobt = true,
                        .spinodes = true,
-                       .rmapbt = false,
+                       .rmapbt = true,
                        .reflink = true,
                        .inobtcnt = true,
                        .parent_pointers = false,