Re: [PATCH V2] block: make nr_requests tunable for loop

2014-06-10 Thread Junxiao Bi
On 06/10/2014 11:12 AM, Jens Axboe wrote: > On 2014-06-09 20:50, Junxiao Bi wrote: >> On 06/10/2014 10:41 AM, Jens Axboe wrote: >>> On 2014-06-09 20:31, Junxiao Bi wrote: commit 7b5a3522 (loop: Limit the number of requests in the bio list) limit the request number in loop queue to no

Re: [PATCH V2] block: make nr_requests tunable for loop

2014-06-09 Thread Junxiao Bi
On 06/10/2014 11:12 AM, Jens Axboe wrote: > On 2014-06-09 20:50, Junxiao Bi wrote: >> On 06/10/2014 10:41 AM, Jens Axboe wrote: >>> On 2014-06-09 20:31, Junxiao Bi wrote: commit 7b5a3522 (loop: Limit the number of requests in the bio list) limit the request number in loop queue to no

Re: [PATCH V2] block: make nr_requests tunable for loop

2014-06-09 Thread Jens Axboe
On 2014-06-09 20:50, Junxiao Bi wrote: On 06/10/2014 10:41 AM, Jens Axboe wrote: On 2014-06-09 20:31, Junxiao Bi wrote: commit 7b5a3522 (loop: Limit the number of requests in the bio list) limit the request number in loop queue to not over 128. Since the "request_fn" of loop device is null, the

Re: [PATCH V2] block: make nr_requests tunable for loop

2014-06-09 Thread Junxiao Bi
On 06/10/2014 10:41 AM, Jens Axboe wrote: > On 2014-06-09 20:31, Junxiao Bi wrote: >> commit 7b5a3522 (loop: Limit the number of requests in the bio list) >> limit >> the request number in loop queue to not over 128. Since the >> "request_fn" of >> loop device is null, the requests number is not al

Re: [PATCH V2] block: make nr_requests tunable for loop

2014-06-09 Thread Jens Axboe
On 2014-06-09 20:31, Junxiao Bi wrote: commit 7b5a3522 (loop: Limit the number of requests in the bio list) limit the request number in loop queue to not over 128. Since the "request_fn" of loop device is null, the requests number is not allowed tuned. Make it tunable from sysfs can improve perfo