block: introduce blk_init_flush and its pair
authorMing Lei <ming.lei@canonical.com>
Thu, 25 Sep 2014 15:23:40 +0000 (23:23 +0800)
committerJens Axboe <axboe@fb.com>
Thu, 25 Sep 2014 21:22:35 +0000 (15:22 -0600)
commitf355265571440a7db16e784b6edf4e7d26971a03
tree79b20c37c734b5932dcecc9e85850847b0a69855
parent1bcb1eada4f11a713cbe586d1b5a5d93a48277cb
block: introduce blk_init_flush and its pair

These two temporary functions are introduced for holding flush
initialization and de-initialization, so that we can
introduce 'flush queue' easier in the following patch. And
once 'flush queue' and its allocation/free functions are ready,
they will be removed for sake of code readability.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-core.c
block/blk-flush.c
block/blk-mq.c
block/blk-mq.h
block/blk-sysfs.c
block/blk.h