aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2016-09-19 01:09:48 +0000
committerDave Chinner <[email protected]>2016-09-19 01:09:48 +0000
commit85a6e764ff5485dfe1edf5e47290e4d32ea866d5 (patch)
tree904f32368131bdff904563606ac31952ddc08d1a /net/switchdev/switchdev.c
parentxfs: factor our a helper to calculate the EOF alignment (diff)
downloadkernel-85a6e764ff5485dfe1edf5e47290e4d32ea866d5.tar.gz
kernel-85a6e764ff5485dfe1edf5e47290e4d32ea866d5.zip
xfs: make xfs_inode_set_eofblocks_tag cheaper for the common case
For long growing file writes we will usually already have the eofblocks tag set when adding more speculative preallocations. Add a flag in the inode to allow us to skip the the fairly expensive AG-wide spinlocks and multiple radix tree operations in that case. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Dave Chinner <[email protected]> Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions