aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2015-04-17 17:08:37 +0100
committerChris Mason <[email protected]>2015-06-10 07:02:44 -0700
commit7558c8bc17481c1f856e009af8503ab40fec348a (patch)
tree5906acbed657779b76e966005c8a9624713d2ed2 /net/switchdev/switchdev.c
parentb659ef027792219b590d67a2baf1643a93727d29 (diff)
Btrfs: don't attach unnecessary extents to transaction on fsync
We don't need to attach ordered extents that have completed to the current transaction. Doing so only makes us hold memory for longer than necessary and delaying the iput of the inode until the transaction is committed (for each created ordered extent we do an igrab and then schedule an asynchronous iput when the ordered extent's reference count drops to 0), preventing the inode from being evictable until the transaction commits. Signed-off-by: Filipe Manana <[email protected]> Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions