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

2020-08-04 Thread Jan Kara
On Wed 01-07-20 23:25:26, 姜迎 wrote: > Does anyone else have any comments on the PATCH v3?Suggestions are welcome. > > Thanks! The patch looks good to me FWIW. But as Jiang properly notes current upstream doesn't need this at all so it's only for -stable kernel releases. Since there was no report

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

2020-07-01 Thread 姜迎
Does anyone else have any comments on the PATCH v3?Suggestions are welcome. Thanks! 发自我的iPhone > 在 2020年6月29日,下午5:45,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.

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

2020-06-29 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