Skip to content
Commit c84a83e2 authored by Jens Axboe's avatar Jens Axboe
Browse files

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: default avatarJens Axboe <axboe@kernel.dk>
parent e3daab6c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment