Re: [PATCH v2] fs: guard_bio_eod() needs to consider partitions

2017-11-10 Thread Jens Axboe
On 11/10/2017 01:46 AM, Christoph Hellwig wrote: > This looks good to me: > > Reviewed-by: Christoph Hellwig > > Jens, can you pick it up through the block tree given that is where > the issue was introduced? I picked it up, and marked it for 4.13 stable as well. -- Jens Axboe

Re: [PATCH v2] fs: guard_bio_eod() needs to consider partitions

2017-11-10 Thread Christoph Hellwig
This looks good to me: Reviewed-by: Christoph Hellwig Jens, can you pick it up through the block tree given that is where the issue was introduced?

Re: [PATCH v2] fs: guard_bio_eod() needs to consider partitions

2017-11-01 Thread Greg Edwards
On Tue, Oct 24, 2017 at 11:21:48AM -0600, Greg Edwards wrote: > guard_bio_eod() needs to look at the partition capacity, not just the > capacity of the whole device, when determining if truncation is > necessary. > > [ 60.268688] attempt to access beyond end of device > [ 60.268690] unknown-blo

[PATCH v2] fs: guard_bio_eod() needs to consider partitions

2017-10-24 Thread Greg Edwards
guard_bio_eod() needs to look at the partition capacity, not just the capacity of the whole device, when determining if truncation is necessary. [ 60.268688] attempt to access beyond end of device [ 60.268690] unknown-block(9,1): rw=0, want=67103509, limit=67103506 [ 60.268693] buffer_io_err