Re: [PATCHSET v4] blk-mq-scheduling framework

2017-01-26 Thread Paolo Valente
> Il giorno 25 gen 2017, alle ore 17:13, Jens Axboe ha scritto: > > On 01/25/2017 01:46 AM, Paolo Valente wrote: >> >>> Il giorno 23 gen 2017, alle ore 18:42, Jens Axboe ha scritto: >>> >>> On 01/23/2017 10:04 AM, Paolo Valente wrote: > Il giorno 18 gen 2017, alle ore 17:21, Jens Ax

Re: [PATCHSET v4] blk-mq-scheduling framework

2017-01-25 Thread Jens Axboe
On 01/25/2017 01:46 AM, Paolo Valente wrote: > >> Il giorno 23 gen 2017, alle ore 18:42, Jens Axboe ha scritto: >> >> On 01/23/2017 10:04 AM, Paolo Valente wrote: >>> Il giorno 18 gen 2017, alle ore 17:21, Jens Axboe ha scritto: On 01/18/2017 08:14 AM, Paolo Valente wrote: >

Re: [PATCHSET v4] blk-mq-scheduling framework

2017-01-25 Thread Paolo Valente
> Il giorno 23 gen 2017, alle ore 18:42, Jens Axboe ha scritto: > > On 01/23/2017 10:04 AM, Paolo Valente wrote: >> >>> Il giorno 18 gen 2017, alle ore 17:21, Jens Axboe ha scritto: >>> >>> On 01/18/2017 08:14 AM, Paolo Valente wrote: according to the function blk_mq_sched_put_request, t

Re: [PATCHSET v4] blk-mq-scheduling framework

2017-01-23 Thread Jens Axboe
On 01/23/2017 10:04 AM, Paolo Valente wrote: > >> Il giorno 18 gen 2017, alle ore 17:21, Jens Axboe ha scritto: >> >> On 01/18/2017 08:14 AM, Paolo Valente wrote: >>> according to the function blk_mq_sched_put_request, the >>> mq.completed_request hook seems to always be invoked (if set) for a >>

Re: [PATCHSET v4] blk-mq-scheduling framework

2017-01-23 Thread Paolo Valente
> Il giorno 18 gen 2017, alle ore 17:21, Jens Axboe ha scritto: > > On 01/18/2017 08:14 AM, Paolo Valente wrote: >> according to the function blk_mq_sched_put_request, the >> mq.completed_request hook seems to always be invoked (if set) for a >> request for which the mq.put_rq_priv is invoked (i

Re: [PATCHSET v4] blk-mq-scheduling framework

2017-01-18 Thread Jens Axboe
On 01/18/2017 08:14 AM, Paolo Valente wrote: > according to the function blk_mq_sched_put_request, the > mq.completed_request hook seems to always be invoked (if set) for a > request for which the mq.put_rq_priv is invoked (if set). Correct, any request that came out of blk_mq_sched_get_request()

Re: [PATCHSET v4] blk-mq-scheduling framework

2017-01-18 Thread Paolo Valente
> Il giorno 17 gen 2017, alle ore 11:49, Paolo Valente > ha scritto: > > [NEW RESEND ATTEMPT] > >> Il giorno 17 gen 2017, alle ore 03:47, Jens Axboe ha scritto: >> >> On 12/22/2016 08:28 AM, Paolo Valente wrote: >>> Il giorno 19 dic 2016, alle ore 22:05, Jens Axboe ha scritto: >

Re: [PATCHSET v4] blk-mq-scheduling framework

2017-01-17 Thread Paolo Valente
[NEW RESEND ATTEMPT] > Il giorno 17 gen 2017, alle ore 03:47, Jens Axboe ha scritto: > > On 12/22/2016 08:28 AM, Paolo Valente wrote: >> >>> Il giorno 19 dic 2016, alle ore 22:05, Jens Axboe ha scritto: >>> >>> On 12/19/2016 11:21 AM, Paolo Valente wrote: > Il giorno 19 dic 2016, al

Re: [PATCHSET v4] blk-mq-scheduling framework

2017-01-16 Thread Jens Axboe
On 12/22/2016 08:28 AM, Paolo Valente wrote: > >> Il giorno 19 dic 2016, alle ore 22:05, Jens Axboe ha scritto: >> >> On 12/19/2016 11:21 AM, Paolo Valente wrote: >>> Il giorno 19 dic 2016, alle ore 16:20, Jens Axboe ha scritto: On 12/19/2016 04:32 AM, Paolo Valente wrote: >

Re: [PATCHSET v4] blk-mq-scheduling framework

2016-12-22 Thread Bart Van Assche
On Thu, 2016-12-22 at 09:12 -0800, Omar Sandoval wrote: > On Thu, Dec 22, 2016 at 04:57:36PM +, Bart Van Assche wrote: > > On Thu, 2016-12-22 at 08:52 -0800, Omar Sandoval wrote: > > > This approach occurred to us, but we couldn't figure out a way to make > > > blk_mq_tag_to_rq() work with it.

Re: [PATCHSET v4] blk-mq-scheduling framework

2016-12-22 Thread Omar Sandoval
On Thu, Dec 22, 2016 at 04:57:36PM +, Bart Van Assche wrote: > On Thu, 2016-12-22 at 08:52 -0800, Omar Sandoval wrote: > > This approach occurred to us, but we couldn't figure out a way to make > > blk_mq_tag_to_rq() work with it. From skimming over the patches, I > > didn't see a solution to t

Re: [PATCHSET v4] blk-mq-scheduling framework

2016-12-22 Thread Bart Van Assche
On Thu, 2016-12-22 at 08:52 -0800, Omar Sandoval wrote: > This approach occurred to us, but we couldn't figure out a way to make > blk_mq_tag_to_rq() work with it. From skimming over the patches, I > didn't see a solution to that problem. Hello Omar, Can you clarify your comment? Since my patches

Re: [PATCHSET v4] blk-mq-scheduling framework

2016-12-22 Thread Omar Sandoval
On Thu, Dec 22, 2016 at 04:23:24PM +, Bart Van Assche wrote: > On Fri, 2016-12-16 at 17:12 -0700, Jens Axboe wrote: > > From the discussion last time, I looked into the feasibility of having > > two sets of tags for the same request pool, to avoid having to copy > > some of the request fields a

Re: [PATCHSET v4] blk-mq-scheduling framework

2016-12-22 Thread Bart Van Assche
On Fri, 2016-12-16 at 17:12 -0700, Jens Axboe wrote: > From the discussion last time, I looked into the feasibility of having > two sets of tags for the same request pool, to avoid having to copy > some of the request fields at dispatch and completion time. To do that, > we'd have to replace the dr

Re: [PATCHSET v4] blk-mq-scheduling framework

2016-12-22 Thread Paolo Valente
> Il giorno 19 dic 2016, alle ore 22:05, Jens Axboe ha scritto: > > On 12/19/2016 11:21 AM, Paolo Valente wrote: >> >>> Il giorno 19 dic 2016, alle ore 16:20, Jens Axboe ha scritto: >>> >>> On 12/19/2016 04:32 AM, Paolo Valente wrote: > Il giorno 17 dic 2016, alle ore 01:12, Jens Ax

Re: [PATCHSET v4] blk-mq-scheduling framework

2016-12-19 Thread Jens Axboe
On 12/19/2016 11:21 AM, Paolo Valente wrote: > >> Il giorno 19 dic 2016, alle ore 16:20, Jens Axboe ha scritto: >> >> On 12/19/2016 04:32 AM, Paolo Valente wrote: >>> Il giorno 17 dic 2016, alle ore 01:12, Jens Axboe ha scritto: This is version 4 of this patchset, version 3

Re: [PATCHSET v4] blk-mq-scheduling framework

2016-12-19 Thread Paolo Valente
> Il giorno 19 dic 2016, alle ore 16:20, Jens Axboe ha scritto: > > On 12/19/2016 04:32 AM, Paolo Valente wrote: >> >>> Il giorno 17 dic 2016, alle ore 01:12, Jens Axboe ha scritto: >>> >>> This is version 4 of this patchset, version 3 was posted here: >>> >>> https://marc.info/?l=linux-bloc

Re: [PATCHSET v4] blk-mq-scheduling framework

2016-12-19 Thread Jens Axboe
On 12/19/2016 08:20 AM, Jens Axboe wrote: > On 12/19/2016 04:32 AM, Paolo Valente wrote: >> >>> Il giorno 17 dic 2016, alle ore 01:12, Jens Axboe ha scritto: >>> >>> This is version 4 of this patchset, version 3 was posted here: >>> >>> https://marc.info/?l=linux-block&m=148178513407631&w=2 >>> >>

Re: [PATCHSET v4] blk-mq-scheduling framework

2016-12-19 Thread Jens Axboe
On 12/19/2016 04:32 AM, Paolo Valente wrote: > >> Il giorno 17 dic 2016, alle ore 01:12, Jens Axboe ha scritto: >> >> This is version 4 of this patchset, version 3 was posted here: >> >> https://marc.info/?l=linux-block&m=148178513407631&w=2 >> >> From the discussion last time, I looked into the

Re: [PATCHSET v4] blk-mq-scheduling framework

2016-12-19 Thread Paolo Valente
> Il giorno 17 dic 2016, alle ore 01:12, Jens Axboe ha scritto: > > This is version 4 of this patchset, version 3 was posted here: > > https://marc.info/?l=linux-block&m=148178513407631&w=2 > > From the discussion last time, I looked into the feasibility of having > two sets of tags for the sa

[PATCHSET v4] blk-mq-scheduling framework

2016-12-16 Thread Jens Axboe
This is version 4 of this patchset, version 3 was posted here: https://marc.info/?l=linux-block&m=148178513407631&w=2 >From the discussion last time, I looked into the feasibility of having two sets of tags for the same request pool, to avoid having to copy some of the request fields at dispatch