block: add comment on why we save and disable interrupts in flush_plug_list()
authorJens Axboe <jaxboe@fusionio.com>
Tue, 12 Apr 2011 08:11:24 +0000 (10:11 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Tue, 12 Apr 2011 08:12:29 +0000 (10:12 +0200)
commit188112722cce083c8f1a7d0d84f55c2cd885920c
treeeb285b823d2dd5a7fa88e9d6a1ee77299c14ff88
parent94b5eb28b41cc79d9713696e0005ae167b5afd1b
block: add comment on why we save and disable interrupts in flush_plug_list()

It's done at the top to avoid doing it for every queue we unplug.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/blk-core.c