aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2018-01-08 13:03:53 +0000
committerTakashi Iwai <[email protected]>2018-01-08 15:40:26 +0000
commit900498a34a3ac9c611e9b425094c8106bdd7dc1c (patch)
tree844ccba051c0491b8e7d74879e6a8d20f11c6e53 /fs/jbd2/commit.c
parentALSA: pcm: Abort properly at pending signal in OSS read/write loops (diff)
downloadkernel-900498a34a3ac9c611e9b425094c8106bdd7dc1c.tar.gz
kernel-900498a34a3ac9c611e9b425094c8106bdd7dc1c.zip
ALSA: pcm: Allow aborting mutex lock at OSS read/write loops
PCM OSS read/write loops keep taking the mutex lock for the whole read/write, and this might take very long when the exceptionally high amount of data is given. Also, since it invokes with mutex_lock(), the concurrent read/write becomes unbreakable. This patch tries to address these issues by replacing mutex_lock() with mutex_lock_interruptible(), and also splits / re-takes the lock at each read/write period chunk, so that it can switch the context more finely if requested. Cc: <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions