[PATCH v6] ext4: fix direct I/O read error for kernel stable rc 4.9

2020-08-06 Thread Jiang Ying
55eea7e4b ("Fix race when checking i_size on direct i/o read") Reviewed-by: Jan Kara Reviewed-by: Wang Long Signed-off-by: Jiang Ying Changes since V5: Fix checkpatch error on kernel stable rc 4.9 based V3. Use "reviewed-by" instead of "Co-developed-by"

[PATCH v5] ext4: fix direct I/O read error for kernel stable rc4.4

2020-08-06 Thread Jiang Ying
55eea7e4b ("Fix race when checking i_size on direct i/o read") Reviewed-by: Jan Kara Reviewed-by: Wang Long Signed-off-by: Jiang Ying Changes since V4: Fix build error on kernel stable rc 4.4. This patch only for kernel 4.4. Changes since V3: Add the info: this

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

2020-08-05 Thread Jiang Ying
a7e4b ("Fix race when checking i_size on direct i/o read") Reviewed-by: Jan Kara Co-developed-by: Wang Long Signed-off-by: Wang Long Signed-off-by: Jiang Ying Changes since V3: Add the info: this bug could break some application that use the stable kernel releases. Ch

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

2020-08-05 Thread Jiang Ying
a7e4b ("Fix race when checking i_size on direct i/o read") Reviewed-by: Jan Kara Co-developed-by: Wang Long Signed-off-by: Wang Long Signed-off-by: Jiang Ying --- fs/ext4/inode.c | 5 + 1 file changed, 5 insertions(+) diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index 516faa2

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

2020-08-05 Thread Jiang Ying
a7e4b ("Fix race when checking i_size on direct i/o read") Reviewed-by: Jan Kara Co-developed-by: Wang Long Signed-off-by: Wang Long Signed-off-by: Jiang Ying --- fs/ext4/inode.c | 5 + 1 file changed, 5 insertions(+) diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index 516faa2

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

2020-06-29 Thread Jiang Ying
Ext4. >From above description, we can see this problem exists on all the kernel versions between kernel 3.14 and kernel 5.4. Please apply this patch on these kernel versions, or please use the method on kernel 5.5 to fix this problem. Fixes: 9fe55eea7e4b ("Fix race when checking i_size on

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

2020-06-28 Thread Jiang Ying
I/O read. So this problem does not exist on kernel 5.5 for Ext4. >From above description, we can see this problem exists on all the kernel versions between kernel 3.14 and kernel 5.4. Please apply this patch on these kernel versions, or please use the method on kernel 5.5 to fix this probl