summaryrefslogtreecommitdiff
path: root/Documentation/kernel-hacking/hacking.rst
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2022-06-25 10:47:45 -0700
committerDarrick J. Wong <djwong@kernel.org>2022-06-27 14:33:53 -0700
commit5fb57a2a0359e47ced2df9c6e4d279fa62f4ac4d (patch)
tree1b3181f89db35a20dfa8e7fe6c4613e5e5688fad /Documentation/kernel-hacking/hacking.rst
parent90d4fdd28661f5d4237b720b5ae2d2c91a496279 (diff)
xfs: dont treat rt extents beyond EOF as eofblocks to be clearedxfs-fixes-5.19_2022-06-27
On a system with a realtime volume and a 28k realtime extent, generic/491 fails because the test opens a file on a frozen filesystem and closing it causes xfs_release -> xfs_can_free_eofblocks to mistakenly think that the the blocks of the realtime extent beyond EOF are posteof blocks to be freed. Realtime extents cannot be partially unmapped, so this is pointless. Worse yet, this triggers posteof cleanup, which stalls on a transaction allocation, which is why the test fails. Teach the predicate to account for realtime extents properly. Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'Documentation/kernel-hacking/hacking.rst')
0 files changed, 0 insertions, 0 deletions