aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/fast_commit.c
diff options
context:
space:
mode:
authorNeilBrown <[email protected]>2021-11-17 04:34:42 +0000
committerJan Kara <[email protected]>2021-11-18 10:52:22 +0000
commitb831281bb929ca6228ab898e1a97bb9284c07036 (patch)
treee72cd234449442607946cd2ff75a48844a87dae5 /fs/ext4/fast_commit.c
parentudf: Fix crash after seekdir (diff)
downloadkernel-b831281bb929ca6228ab898e1a97bb9284c07036.tar.gz
kernel-b831281bb929ca6228ab898e1a97bb9284c07036.zip
reiserfs: don't use congestion_wait()
Block devices do not, in general, report congestion any more, so this congestion_wait() is effectively just a sleep. It isn't entirely clear what is being waited for, but as we only wait when j_async_throttle is elevated, it seems reasonable to stop waiting when j_async_throttle becomes zero - or after the same timeout. So change to use wait_event_event_timeout() for waiting, and wake_up_var() to signal an end to waiting. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: NeilBrown <[email protected]> Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions