Re: [PATCH v2] block: bio_check_eod() needs to consider partition

2018-03-14 Thread Bart Van Assche
On Wed, 2018-03-14 at 14:03 +0100, h...@lst.de wrote: > can you test the version below? Hello Christoph, The same VM that failed to boot with v2 of this patch boots fine with this patch. Thanks, Bart.

Re: [PATCH v2] block: bio_check_eod() needs to consider partition

2018-03-14 Thread h...@lst.de
Hi Bart, can you test the version below? --- >From a68a8518158e31d66a0dc4f4e795ca3ceb83752c Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Tue, 13 Mar 2018 09:27:30 +0100 Subject: block: bio_check_eod() needs to consider partition bio_check_eod() should check partiton size

Re: [PATCH v2] block: bio_check_eod() needs to consider partition

2018-03-13 Thread Jens Axboe
On 3/13/18 9:25 AM, Bart Van Assche wrote: > On Tue, 2018-03-13 at 07:49 -0700, Jens Axboe wrote: >> On 3/13/18 2:18 AM, Christoph Hellwig wrote: >>> bio_check_eod() should check partiton size not the whole disk if >>> bio->bi_partno is non-zero. Does this by taking the call to bio_check_eod >>>

Re: [PATCH v2] block: bio_check_eod() needs to consider partition

2018-03-13 Thread h...@lst.de
On Tue, Mar 13, 2018 at 04:25:40PM +, Bart Van Assche wrote: > On Tue, 2018-03-13 at 07:49 -0700, Jens Axboe wrote: > > On 3/13/18 2:18 AM, Christoph Hellwig wrote: > > > bio_check_eod() should check partiton size not the whole disk if > > > bio->bi_partno is non-zero. Does this by taking the

Re: [PATCH v2] block: bio_check_eod() needs to consider partition

2018-03-13 Thread Bart Van Assche
On Tue, 2018-03-13 at 07:49 -0700, Jens Axboe wrote: > On 3/13/18 2:18 AM, Christoph Hellwig wrote: > > bio_check_eod() should check partiton size not the whole disk if > > bio->bi_partno is non-zero. Does this by taking the call to bio_check_eod > > into blk_partition_remap. > > Applied,

Re: [PATCH v2] block: bio_check_eod() needs to consider partition

2018-03-13 Thread Jens Axboe
On 3/13/18 2:18 AM, Christoph Hellwig wrote: > bio_check_eod() should check partiton size not the whole disk if > bio->bi_partno is non-zero. Does this by taking the call to bio_check_eod > into blk_partition_remap. Applied, thanks. -- Jens Axboe