Re: [PATCH v2 3/6] block: loop: convert to blk-mq

2014-08-31 Thread Ming Lei
ei >> Sent: Saturday, 30 August, 2014 11:08 AM >> To: Jens Axboe; linux-kernel@vger.kernel.org; Dave Kleikamp >> Cc: Zach Brown; Christoph Hellwig; Maxim Patlasov; Ming Lei >> Subject: [PATCH v2 3/6] block: loop: convert to blk-mq >> > ... >> -static inline

RE: [PATCH v2 3/6] block: loop: convert to blk-mq

2014-08-30 Thread Elliott, Robert (Server Storage)
oph Hellwig; Maxim Patlasov; Ming Lei > Subject: [PATCH v2 3/6] block: loop: convert to blk-mq > ... > -static inline void loop_handle_bio(struct loop_device *lo, struct > bio *bio) > +static inline int loop_handle_bio(struct loop_device *lo, struct bio > *bio) >

[PATCH v2 3/6] block: loop: convert to blk-mq

2014-08-30 Thread Ming Lei
The conversion is a bit straightforward, and use per-hw_queue kthread work queue to dispatch reqests of loop block, so scalability gets improved a lot if nr_hw_queues is increased. Another benefit is that loop driver code gets simplified much, and the patch can be thought as cleanup too. Signed-o