]> git.baikalelectronics.ru Git - kernel.git/commit
block: make unplug timer trace event correspond to the schedule() unplug
authorJens Axboe <jaxboe@fusionio.com>
Sat, 16 Apr 2011 11:51:05 +0000 (13:51 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Sat, 16 Apr 2011 11:51:05 +0000 (13:51 +0200)
commit8416d894d0d877573ee3e20b34449ff0e19a3879
treea1ab1974eceea3179a604413955ad8369ba715d7
parentc68f156d39c94b94b67d45cd137437dc76384e68
block: make unplug timer trace event correspond to the schedule() unplug

It's a pretty close match to what we had before - the timer triggering
would mean that nobody unplugged the plug in due time, in the new
scheme this matches very closely what the schedule() unplug now is.
It's essentially the difference between an explicit unplug (IO unplug)
or an implicit unplug (timer unplug, we scheduled with pending IO
queued).

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/blk-core.c
include/trace/events/block.h
kernel/trace/blktrace.c