diff options
| author | Tejun Heo <[email protected]> | 2016-10-28 16:58:11 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2017-01-14 10:30:05 +0000 |
| commit | 1460cb65a10f6c7a6e3a1c76513338861a0a43b6 (patch) | |
| tree | 15c9773a766aea95828a609976a7bb8ba5dbbfc2 /fs/jbd2/commit.c | |
| parent | sched/core: Separate out io_schedule_prepare() and io_schedule_finish() (diff) | |
| download | kernel-1460cb65a10f6c7a6e3a1c76513338861a0a43b6.tar.gz kernel-1460cb65a10f6c7a6e3a1c76513338861a0a43b6.zip | |
locking/mutex, sched/wait: Add mutex_lock_io()
We sometimes end up propagating IO blocking through mutexes; however,
because there currently is no way of annotating mutex sleeps as
iowait, there are cases where iowait and /proc/stat:procs_blocked
report misleading numbers obscuring the actual state of the system.
This patch adds mutex_lock_io() so that mutex sleeps can be marked as
iowait in those cases.
Signed-off-by: Tejun Heo <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
