aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorDave Chinner <[email protected]>2022-06-16 14:44:31 +0000
committerDarrick J. Wong <[email protected]>2022-06-23 20:34:38 +0000
commit7cf2b0f9611b9971d663e1fc3206eeda3b902922 (patch)
treee585ad4129cd1e0ece2dca566e4bd33a82c7e17b /scripts/clang-tools/gen_compile_commands.py
parentxfs: preserve DIFLAG2_NREXT64 when setting other inode attributes (diff)
downloadkernel-7cf2b0f9611b9971d663e1fc3206eeda3b902922.tar.gz
kernel-7cf2b0f9611b9971d663e1fc3206eeda3b902922.zip
xfs: bound maximum wait time for inodegc work
Currently inodegc work can sit queued on the per-cpu queue until the workqueue is either flushed of the queue reaches a depth that triggers work queuing (and later throttling). This means that we could queue work that waits for a long time for some other event to trigger flushing. Hence instead of just queueing work at a specific depth, use a delayed work that queues the work at a bound time. We can still schedule the work immediately at a given depth, but we no long need to worry about leaving a number of items on the list that won't get processed until external events prevail. Signed-off-by: Dave Chinner <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions