OSDN Git Service

sched/completion: Document when to use wait_for_completion_io_*()
authorWolfram Sang <wsa@the-dreams.de>
Tue, 4 Nov 2014 11:01:41 +0000 (12:01 +0100)
committerIngo Molnar <mingo@kernel.org>
Sun, 16 Nov 2014 09:58:54 +0000 (10:58 +0100)
commita1bd5373357d3edc4b97548747d583c3efa484b3
tree9772a0ec18b3d64d20a043597cfe96f427146778
parentf622b429dadf83c3cc2d70f57f407ad85684eb36
sched/completion: Document when to use wait_for_completion_io_*()

As discussed in [1], accounting IO is meant for blkio only. Document that
so driver authors won't use them for device io.

 [1] http://thread.gmane.org/gmane.linux.drivers.i2c/20470

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/1415098901-2768-1-git-send-email-wsa@the-dreams.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/completion.c