From: Akinobu Mita Date: Mon, 1 Jun 2015 23:35:09 +0000 (+0900) Subject: null_blk: prevent timer handler running on a different CPU where started X-Git-Tag: omap-for-v4.3/legacy-v2-signed~148^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=419c21a3b6275d40a10901f700efcd40515b6db6;p=pandora-kernel.git null_blk: prevent timer handler running on a different CPU where started When irqmode=2 (IRQ completion handler is timer), timer handler should be called on the same CPU where the timer has been started. Since completion_queues are per-cpu and the completion handler only touches completion_queue for local CPU, we need to prevent the handler from running on a different CPU where the timer has been started. Otherwise, the IO cannot be completed until another completion handler is executed on that CPU. Signed-off-by: Akinobu Mita Cc: Jens Axboe Signed-off-by: Jens Axboe --- Reading git-diff-tree failed