xfs: alert the user about data/attr fork mappings that could be merged
authorDarrick J. Wong <djwong@kernel.org>
Wed, 12 Apr 2023 02:00:25 +0000 (19:00 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 12 Apr 2023 02:00:25 +0000 (19:00 -0700)
commit336642f79283715e4535bfaa05f5593dd91da6e8
tree46d9157cbce314dcc2d8fabf8273a80ba7248d9d
parentc0d5a92f7aaf41b1ab70869358d534757b569a1f
xfs: alert the user about data/attr fork mappings that could be merged

If the data or attr forks have mappings that could be merged, let the
user know that the structure could be optimized.  This isn't a
filesystem corruption since the regular filesystem does not try to be
smart about merging bmbt records.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/scrub/bmap.c