aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorDave Chinner <[email protected]>2022-05-04 11:46:00 +1000
committerDave Chinner <[email protected]>2022-05-04 11:46:00 +1000
commit5ddd658ea878f8dbae5ec33dba6cfdabb5056916 (patch)
tree2293f6b600ceb14f0e9a0d9bd675ee78bbc31b13 /lib/netdev-notifier-error-inject.c
parentb2c28035cea290edbcec697504e5b7a4b1e023e7 (diff)
xfs: don't commit the first deferred transaction without intents
If the first operation in a string of defer ops has no intents, then there is no reason to commit it before running the first call to xfs_defer_finish_one(). This allows the defer ops to be used effectively for non-intent based operations without requiring an unnecessary extra transaction commit when first called. This fixes a regression in per-attribute modification transaction count when delayed attributes are not being used. Signed-off-by: Dave Chinner <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Allison Henderson <[email protected]> Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions