Re: [PATCH 0/2] block: fix two regressiones on bounce

2018-01-02 Thread Ming Lei
Hi Vincent,

On Tue, Jan 02, 2018 at 04:16:44PM -0500, Vincent Batts wrote:
> Will this set make it to the 4.14.x stable branch?

Greg has posted out the two patches for 4.14-stable review:

https://marc.info/?l=linux-kernel&m=15148177272&w=2

So it will be in 4.14.x stable branch soon.

Thanks,
Ming

> 
> vb
> 
> On Mon, Dec 18, 2017 at 3:22 PM, Jens Axboe  wrote:
> > On 12/18/2017 12:40 AM, Ming Lei wrote:
> >> Hi Jens,
> >>
> >> The 1st patch makes sure that passthrough IO won't enter .make_request_fn.
> >>
> >> The 2nd one fixes blk_rq_append_bio(), which is from your post with
> >> small change on failure handling.
> >
> > Thanks Ming, queued up.
> >
> > --
> > Jens Axboe
> >

-- 
Ming


Re: [PATCH 0/2] block: fix two regressiones on bounce

2018-01-02 Thread Vincent Batts
Will this set make it to the 4.14.x stable branch?

vb

On Mon, Dec 18, 2017 at 3:22 PM, Jens Axboe  wrote:
> On 12/18/2017 12:40 AM, Ming Lei wrote:
>> Hi Jens,
>>
>> The 1st patch makes sure that passthrough IO won't enter .make_request_fn.
>>
>> The 2nd one fixes blk_rq_append_bio(), which is from your post with
>> small change on failure handling.
>
> Thanks Ming, queued up.
>
> --
> Jens Axboe
>


Re: [PATCH 0/2] block: fix two regressiones on bounce

2017-12-19 Thread Vincent Batts
Just got a confirmation that this patch set, when applied to the 4.14
branch, fixes the issue.

On Mon, Dec 18, 2017 at 3:22 PM, Jens Axboe  wrote:
> On 12/18/2017 12:40 AM, Ming Lei wrote:
>> Hi Jens,
>>
>> The 1st patch makes sure that passthrough IO won't enter .make_request_fn.
>>
>> The 2nd one fixes blk_rq_append_bio(), which is from your post with
>> small change on failure handling.
>
> Thanks Ming, queued up.
>
> --
> Jens Axboe
>


Re: [PATCH 0/2] block: fix two regressiones on bounce

2017-12-18 Thread Jens Axboe
On 12/18/2017 12:40 AM, Ming Lei wrote:
> Hi Jens,
> 
> The 1st patch makes sure that passthrough IO won't enter .make_request_fn.
> 
> The 2nd one fixes blk_rq_append_bio(), which is from your post with
> small change on failure handling.

Thanks Ming, queued up.

-- 
Jens Axboe



[PATCH 0/2] block: fix two regressiones on bounce

2017-12-17 Thread Ming Lei
Hi Jens,

The 1st patch makes sure that passthrough IO won't enter .make_request_fn.

The 2nd one fixes blk_rq_append_bio(), which is from your post with
small change on failure handling.


Jens Axboe (1):
  block: fix blk_rq_append_bio

Ming Lei (1):
  block: don't let passthrough IO go into .make_request_fn()

 block/blk-map.c| 38 ++
 block/bounce.c |  6 --
 drivers/scsi/osd/osd_initiator.c   |  4 +++-
 drivers/target/target_core_pscsi.c |  4 ++--
 include/linux/blkdev.h | 23 ---
 5 files changed, 51 insertions(+), 24 deletions(-)

-- 
2.9.5