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

From: 姜迎
Date: Fri Aug 14 2020 - 04:40:14 EST


Ok,I will make time to do it.

发自我的iPhone

> 在 2020年8月14日,下午4:04,Christoph Hellwig <hch@xxxxxxxxxxxxx> 写道:
>
> 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/zero of=./test.jar bs=1000 count=3
>>
>> (2) I wrote a source file named "direct_io_read_file.c" as following:
>
> Can you please add your reproducer to xfstests?
>
> Thanks!