aboutsummaryrefslogtreecommitdiff
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorFilipe Manana <[email protected]>2022-02-17 12:12:05 +0000
committerDavid Sterba <[email protected]>2022-03-14 13:13:52 +0100
commit96acb3753e0740e0a3148640927dcf3249f09f5d (patch)
tree3fb5e6b96c7ad3f8cb699ed43804f9dc01fe6902 /scripts/clang-tools/gen_compile_commands.py
parent5b7ce5e287f030d1d3c799abea769b1a308067ba (diff)
btrfs: voluntarily relinquish cpu when doing a full fsync
Doing a full fsync may require processing many leaves of metadata, which can take some time and result in a task monopolizing a cpu for too long. So add a cond_resched() after processing a leaf when doing a full fsync, while not holding any locks on any tree (a subvolume or a log tree). Signed-off-by: Filipe Manana <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions