summaryrefslogtreecommitdiffstats
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2013-05-17 09:58:43 +0200
committerJens Axboe <axboe@kernel.dk>2013-10-25 12:55:59 +0200
commitc84a83e2aaab02a5ca64a982aa55342784934479 (patch)
tree405880cd8121ba0fb1905549cc992071d27c6ca4 /block/blk-core.c
parentsmp: export __smp_call_function_single() (diff)
downloadlinux-c84a83e2aaab02a5ca64a982aa55342784934479.tar.xz
linux-c84a83e2aaab02a5ca64a982aa55342784934479.zip
smp: don't warn about csd->flags having CSD_FLAG_LOCK cleared for !wait
blk-mq reuses the request potentially immediately, since the most cache hot is always given out first. This means that rq->csd could be reused between csd->func() being called and csd_unlock() being called. This isn't a problem, since we never use wait == 1 for the smp call function. Add CSD_FLAG_WAIT to be able to tell the difference, retaining the warning for other cases. Cc: Ingo Molnar <mingo@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions