Re: [PATCH v4] ext4: fix direct I/O read error

2020-08-14 Thread 姜迎
Ok,I will make time to do it. 发自我的iPhone > 在 2020年8月14日,下午4:04,Christoph Hellwig 写道: > > On Wed, Aug 05, 2020 at 03:40:34PM +0800, Jiang Ying wrote: >> This patch is used to fix ext4 direct I/O read error when >> the read size is not aligned with block size. >> >> Then, I will use a test to e

Re: [PATCH v4] ext4: fix direct I/O read error

2020-08-14 Thread Christoph Hellwig
On Wed, Aug 05, 2020 at 03:40:34PM +0800, Jiang Ying wrote: > This patch is used to fix ext4 direct I/O read error when > the read size is not aligned with block size. > > Then, I will use a test to explain the error. > > (1) Make a file that is not aligned with block size: > $dd if=/dev/ze

Re: [PATCH v4] ext4: fix direct I/O read error

2020-08-05 Thread 姜迎
Sorry,I will fix this error on 4.4 and 4.9,and then send a patch for 4.4 and 4.9,thanks! 发自我的iPhone > 在 2020年8月6日,上午9:19,Sasha Levin 写道: > > On Wed, Aug 05, 2020 at 10:51:07AM +0200, Jan Kara wrote: >> Note to stable tree maintainers (summary from the rather long changelog): >> This is a non-

Re: [PATCH v4] ext4: fix direct I/O read error

2020-08-05 Thread Sasha Levin
On Wed, Aug 05, 2020 at 10:51:07AM +0200, Jan Kara wrote: Note to stable tree maintainers (summary from the rather long changelog): This is a non-upstream patch. It will not go upstream because the problem there has been fixed by converting ext4 to use iomap infrastructure. However that change is

Re: [PATCH v4] ext4: fix direct I/O read error

2020-08-05 Thread Greg KH
On Wed, Aug 05, 2020 at 10:51:07AM +0200, Jan Kara wrote: > Note to stable tree maintainers (summary from the rather long changelog): > This is a non-upstream patch. It will not go upstream because the problem > there has been fixed by converting ext4 to use iomap infrastructure. > However that cha

Re: [PATCH v4] ext4: fix direct I/O read error

2020-08-05 Thread Jan Kara
Note to stable tree maintainers (summary from the rather long changelog): This is a non-upstream patch. It will not go upstream because the problem there has been fixed by converting ext4 to use iomap infrastructure. However that change is out of scope for stable kernels and this is a minimal fix f

[PATCH v4] ext4: fix direct I/O read error

2020-08-05 Thread Jiang Ying
This patch is used to fix ext4 direct I/O read error when the read size is not aligned with block size. Then, I will use a test to explain the error. (1) Make a file that is not aligned with block size: $dd if=/dev/zero of=./test.jar bs=1000 count=3 (2) I wrote a source file named "direc

[PATCH v4] ext4: fix direct I/O read error

2020-08-05 Thread Jiang Ying
This patch is used to fix ext4 direct I/O read error when the read size is not aligned with block size. Then, I will use a test to explain the error. (1) Make a file that is not aligned with block size: $dd if=/dev/zero of=./test.jar bs=1000 count=3 (2) I wrote a source file named "direc