From: Jens Axboe Date: Fri, 17 May 2013 07:58:43 +0000 (+0200) Subject: smp: don't warn about csd->flags having CSD_FLAG_LOCK cleared for !wait X-Git-Tag: v3.13-rc1~101^2^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c84a83e2aaab02a5ca64a982aa55342784934479;p=pandora-kernel.git 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 Signed-off-by: Jens Axboe --- Reading git-diff-tree failed