aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd/commit.c
diff options
context:
space:
mode:
authorVille Syrjala <[email protected]>2012-03-15 17:11:05 +0000
committerJean Delvare <[email protected]>2012-03-15 17:11:05 +0000
commit8ee161ce5e0cfc689eb677f227a6248191165fac (patch)
treee1c6aa2b4788eec7e9e552b90be10cd4ae5333ef /fs/jbd/commit.c
parenti2c-core: Comment says "transmitted" but means "received" (diff)
downloadkernel-8ee161ce5e0cfc689eb677f227a6248191165fac.tar.gz
kernel-8ee161ce5e0cfc689eb677f227a6248191165fac.zip
i2c-algo-bit: Fix spurious SCL timeouts under heavy load
When the system is under heavy load, there can be a significant delay between the getscl() and time_after() calls inside sclhi(). That delay may cause the time_after() check to trigger after SCL has gone high, causing sclhi() to return -ETIMEDOUT. To fix the problem, double check that SCL is still low after the timeout has been reached, before deciding to return -ETIMEDOUT. Signed-off-by: Ville Syrjala <[email protected]> Cc: [email protected] Signed-off-by: Jean Delvare <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions