Re: [PATCH v2 3/4] blk-mq-debugfs: Show busy requests

2017-05-31 Thread Hannes Reinecke
On 05/31/2017 11:30 PM, Bart Van Assche wrote: > Requests that got stuck in a block driver are neither on > blk_mq_ctx.rq_list nor on any hw dispatch queue. Make these > visible in debugfs through the "busy" attribute. > > Signed-off-by: Bart Van Assche > Cc:

Re: [PATCH v2 3/4] blk-mq-debugfs: Show busy requests

2017-05-31 Thread Ming Lei
On Wed, May 31, 2017 at 02:30:49PM -0700, Bart Van Assche wrote: > Requests that got stuck in a block driver are neither on > blk_mq_ctx.rq_list nor on any hw dispatch queue. Make these > visible in debugfs through the "busy" attribute. > > Signed-off-by: Bart Van Assche

Re: [PATCH v2 3/4] blk-mq-debugfs: Show busy requests

2017-05-31 Thread Eduardo Valentin
On Wed, May 31, 2017 at 09:54:11PM +, Bart Van Assche wrote: > On Wed, 2017-05-31 at 14:49 -0700, Eduardo Valentin wrote: > > On Wed, May 31, 2017 at 09:45:54PM +, Bart Van Assche wrote: > > > On Wed, 2017-05-31 at 14:43 -0700, Eduardo Valentin wrote: > > > > On Wed, May 31, 2017 at

Re: [PATCH v2 3/4] blk-mq-debugfs: Show busy requests

2017-05-31 Thread Bart Van Assche
On Wed, 2017-05-31 at 14:49 -0700, Eduardo Valentin wrote: > On Wed, May 31, 2017 at 09:45:54PM +, Bart Van Assche wrote: > > On Wed, 2017-05-31 at 14:43 -0700, Eduardo Valentin wrote: > > > On Wed, May 31, 2017 at 02:30:49PM -0700, Bart Van Assche wrote: > > > > +static void

Re: [PATCH v2 3/4] blk-mq-debugfs: Show busy requests

2017-05-31 Thread Eduardo Valentin
On Wed, May 31, 2017 at 09:45:54PM +, Bart Van Assche wrote: > On Wed, 2017-05-31 at 14:43 -0700, Eduardo Valentin wrote: > > On Wed, May 31, 2017 at 02:30:49PM -0700, Bart Van Assche wrote: > > > +static void hctx_show_busy(struct request *rq, void *data, bool reserved) > > > +{ > > > + const

Re: [PATCH v2 3/4] blk-mq-debugfs: Show busy requests

2017-05-31 Thread Bart Van Assche
On Wed, 2017-05-31 at 14:43 -0700, Eduardo Valentin wrote: > On Wed, May 31, 2017 at 02:30:49PM -0700, Bart Van Assche wrote: > > +static void hctx_show_busy(struct request *rq, void *data, bool reserved) > > +{ > > + const struct show_busy_params *params = data; > > + > > + if

Re: [PATCH v2 3/4] blk-mq-debugfs: Show busy requests

2017-05-31 Thread Eduardo Valentin
Hello, On Wed, May 31, 2017 at 02:30:49PM -0700, Bart Van Assche wrote: > Requests that got stuck in a block driver are neither on > blk_mq_ctx.rq_list nor on any hw dispatch queue. Make these > visible in debugfs through the "busy" attribute. > > Signed-off-by: Bart Van Assche

[PATCH v2 3/4] blk-mq-debugfs: Show busy requests

2017-05-31 Thread Bart Van Assche
Requests that got stuck in a block driver are neither on blk_mq_ctx.rq_list nor on any hw dispatch queue. Make these visible in debugfs through the "busy" attribute. Signed-off-by: Bart Van Assche Cc: Christoph Hellwig Cc: Hannes Reinecke