Re: [PATCH 5/8] block: add code to track actual device queue depth

2016-11-05 Thread Jan Kara
On Tue 01-11-16 15:08:48, Jens Axboe wrote: > For blk-mq, ->nr_requests does track queue depth, at least at init > time. But for the older queue paths, it's simply a soft setting. > On top of that, it's generally larger than the hardware setting > on purpose, to allow backup of requests for

Re: [PATCH 5/8] block: add code to track actual device queue depth

2016-11-02 Thread Johannes Thumshirn
On Wed, Nov 02, 2016 at 09:02:08AM -0600, Jens Axboe wrote: > On 11/02/2016 08:59 AM, Christoph Hellwig wrote: > > On Tue, Nov 01, 2016 at 03:08:48PM -0600, Jens Axboe wrote: > > > For blk-mq, ->nr_requests does track queue depth, at least at init > > > time. But for the older queue paths, it's

Re: [PATCH 5/8] block: add code to track actual device queue depth

2016-11-02 Thread Christoph Hellwig
On Tue, Nov 01, 2016 at 03:08:48PM -0600, Jens Axboe wrote: > For blk-mq, ->nr_requests does track queue depth, at least at init > time. But for the older queue paths, it's simply a soft setting. > On top of that, it's generally larger than the hardware setting > on purpose, to allow backup of

Re: [PATCH 5/8] block: add code to track actual device queue depth

2016-11-02 Thread Jens Axboe
On 11/02/2016 08:59 AM, Christoph Hellwig wrote: On Tue, Nov 01, 2016 at 03:08:48PM -0600, Jens Axboe wrote: For blk-mq, ->nr_requests does track queue depth, at least at init time. But for the older queue paths, it's simply a soft setting. On top of that, it's generally larger than the

[PATCH 5/8] block: add code to track actual device queue depth

2016-11-01 Thread Jens Axboe
For blk-mq, ->nr_requests does track queue depth, at least at init time. But for the older queue paths, it's simply a soft setting. On top of that, it's generally larger than the hardware setting on purpose, to allow backup of requests for merging. Fill a hole in struct request with a

[PATCH 5/8] block: add code to track actual device queue depth

2016-10-26 Thread Jens Axboe
For blk-mq, ->nr_requests does track queue depth, at least at init time. But for the older queue paths, it's simply a soft setting. On top of that, it's generally larger than the hardware setting on purpose, to allow backup of requests for merging. Fill a hole in struct request with a