block: optimize trigger of iopoll softirq
authorJens Axboe <jens.axboe@oracle.com>
Wed, 3 Mar 2010 08:51:53 +0000 (09:51 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 4 Mar 2010 08:48:20 +0000 (09:48 +0100)
commit97138be43ab3a1906041effb635526a8eb0b2712
treee380185d8ad1f8ffeb8a234d7897fd12b14c6737
parent0b259b088fe1b4cf3e88fc3d962792966555f0a6
block: optimize trigger of iopoll softirq

If the softirq has already been scheduled (list was non-empty
on entry), then we need not re-mark it for execution.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blk-iopoll.c