summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_file.c
diff options
context:
space:
mode:
authorAllison Collins <allison.henderson@oracle.com>2020-07-20 21:47:28 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2020-07-28 20:28:12 -0700
commita237f2ddae4b79797fcb4290116acda38323da16 (patch)
tree7b6c7e9506e00e6c1273fec557adf4c8fa4c4ad6 /fs/xfs/xfs_file.c
parent0feaef17db9ddf0d97676eaa258dc55ff504cfb6 (diff)
downloadlinux-stable-a237f2ddae4b79797fcb4290116acda38323da16.tar.gz
linux-stable-a237f2ddae4b79797fcb4290116acda38323da16.tar.bz2
linux-stable-a237f2ddae4b79797fcb4290116acda38323da16.zip
xfs: Remove xfs_trans_roll in xfs_attr_node_removename
A transaction roll is not necessary immediately after setting the INCOMPLETE flag when removing a node xattr entry with remote value blocks. The remote block invalidation that immediately follows setting the flag is an in-core only change. The next step after that is to start unmapping the remote blocks from the attr fork, but the xattr remove transaction reservation includes reservation for full tree splits of the dabtree and bmap tree. The remote block unmap code will roll the transaction as extents are unmapped and freed. Signed-off-by: Allison Collins <allison.henderson@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Acked-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_file.c')
0 files changed, 0 insertions, 0 deletions