]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: Skip flip flags for delayed attrs
authorAllison Henderson <allison.henderson@oracle.com>
Mon, 9 May 2022 09:09:10 +0000 (19:09 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 9 May 2022 09:09:10 +0000 (19:09 +1000)
commitba9f8154c930640c4d101ac0693f76bd4f79bd34
treee17b74c83319dfb894ddcdc2b9fff8fa6cddc741
parent29c40927382fe4dfcae499d92eae2833cd7bcf3a
xfs: Skip flip flags for delayed attrs

This is a clean up patch that skips the flip flag logic for delayed attr
renames.  Since the log replay keeps the inode locked, we do not need to
worry about race windows with attr lookups.  So we can skip over
flipping the flag and the extra transaction roll for it

Signed-off-by: Allison Henderson <allison.henderson@oracle.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Chandan Babu R <chandanrlinux@gmail.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/libxfs/xfs_attr.c
fs/xfs/libxfs/xfs_attr_leaf.c