Ext4 corruption with VM images as 3 > drop_caches
Subsystems (2)
Hi,
With new vm install I am finding corruption with the vm image if I follow up the install with echo 3 > /proc/sys/vm/drop_caches
The file system reports below error.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ...
[ 4.916017] EXT4-fs error (device vda2): ext4_lookup:1700: inode #787185: comm sh: iget: checksum invalid done. [ 5.244312] EXT4-fs error (device vda2): ext4_lookup:1700: inode #917954: comm init: iget: checksum invalid [ 5.257246] EXT4-fs error (device vda2): ext4_lookup:1700: inode #917954: comm init: iget: checksum invalid /sbin/init: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 74 [ 5.271207] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
And debugfs reports
debugfs: stat <917954> Inode: 917954 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 Version: 0x00000000 User: 0 Group: 0 Size: 0 File ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 18:00:00 1969 atime: 0x00000000 -- Wed Dec 31 18:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 18:00:00 1969 Size of extra inode fields: 0 Inode checksum: 0x00000000
BLOCKS:
debugfs:
Bisecting this finds
Commit 244adf6426ee31a83f397b700d964cff12a247d3("ext4: make dioread_nolock the default") as bad. If I revert the same on top of linus upstream(fb33c6510d5595144d585aa194d377cf74d31911) I don't hit the corrupttion anymore.
-aneesh
Quoted 30 lines · Aneesh Kumar K.V
Hi,
With new vm install I am finding corruption with the vm image if I follow up the install with echo 3 >
/proc/sys/vm/drop_cachesThe file system reports below error.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ...[ 4.916017] EXT4-fs error (device vda2): ext4_lookup:1700: inode #787185: comm sh: iget: checksum invalid done. [ 5.244312] EXT4-fs error (device vda2): ext4_lookup:1700: inode #917954: comm init: iget: checksum invalid [ 5.257246] EXT4-fs error (device vda2): ext4_lookup:1700: inode #917954: comm init: iget: checksum invalid /sbin/init: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 74 [ 5.271207] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00And debugfs reports
debugfs: stat <917954> Inode: 917954 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 Version: 0x00000000 User: 0 Group: 0 Size: 0 File ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 18:00:00 1969 atime: 0x00000000 -- Wed Dec 31 18:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 18:00:00 1969 Size of extra inode fields: 0 Inode checksum: 0x00000000
Quoted 7 lines
BLOCKS:
debugfs:Bisecting this finds
Commit 244adf6426ee31a83f397b700d964cff12a247d3("ext4: makedioread_nolockthe default") as bad. If I revert the same on top of linus upstream(fb33c6510d5595144d585aa194d377cf74d31911) I don't hit the corrupttion anymore.
Tried replicating this and could easily replicate it on Power box. I tried to reproduce this on x86 too, but could not reproduce on x86. Now one difference on Power could be that pagesize is 64K and fs blocksize is 4K.
The issue looks like the guest qemu image file is not properly written back, after host does echo 3 > drop_caches. (correct me if this is not the case).
I tried replicating via below test, but it could not reproduce.
Any idea what kind of unit test could be written for this? I am not sure how exactly qemu is writing to it's image file.
1. Create 2 files. "mmap-file", "mmap-data".
2. "mmap-file" is a 2GB sparse file. Then at some random offsets (tried with both 64KB align and 4KB align offsets), try to write pagesize/blocksize amount of known data pattern.
3. These offsets (which are pagesize/blocksize align) are recorded into
"mmap-data" file via normal read/write calls.
4. Then after we wrote to both files, we munmap the "mmap-file" and
close both of these files.
5. Then we do echo 3 > drop_caches.
6. Then in the verify phase, using the offsets written in "mmap-data"
file, I read the "mmap-file" to verify if it's contents are proper or
not.
With that could not reproduce this issue.
-ritesh
Jan Kara
reviewerHi!
Quoted 28 lines · Aneesh Kumar K.V
With new vm install I am finding corruption with the vm image if I follow up the install with echo 3 >
/proc/sys/vm/drop_cachesThe file system reports below error.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ...[ 4.916017] EXT4-fs error (device vda2): ext4_lookup:1700: inode #787185: comm sh: iget: checksum invalid done. [ 5.244312] EXT4-fs error (device vda2): ext4_lookup:1700: inode #917954: comm init: iget: checksum invalid [ 5.257246] EXT4-fs error (device vda2): ext4_lookup:1700: inode #917954: comm init: iget: checksum invalid /sbin/init: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 74 [ 5.271207] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00And debugfs reports
debugfs: stat <917954> Inode: 917954 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 Version: 0x00000000 User: 0 Group: 0 Size: 0 File ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 18:00:00 1969 atime: 0x00000000 -- Wed Dec 31 18:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 18:00:00 1969 Size of extra inode fields: 0 Inode checksum: 0x00000000
Quoted 8 lines
BLOCKS:
debugfs:Bisecting this finds
Commit 244adf6426ee31a83f397b700d964cff12a247d3("ext4: makedioread_nolockthe default") as bad. If I revert the same on top of linus upstream(fb33c6510d5595144d585aa194d377cf74d31911) I don't hit the corrupttion anymore.
Thanks for report and the bisection! Is this guest or host kernel that you were bisecting? I presume host but I want to make sure.
Honza
Signature · 2 lines
Jan Kara <[email protected]> SUSE Labs, CR
Quoted 34 lines · Jan Kara
Hi!
Quoted 31 lines · Aneesh Kumar K.V
With new vm install I am finding corruption with the vm image if I follow up the install with echo 3 >
/proc/sys/vm/drop_cachesThe file system reports below error.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ...[ 4.916017] EXT4-fs error (device vda2): ext4_lookup:1700: inode #787185: comm sh: iget: checksum invalid done. [ 5.244312] EXT4-fs error (device vda2): ext4_lookup:1700: inode #917954: comm init: iget: checksum invalid [ 5.257246] EXT4-fs error (device vda2): ext4_lookup:1700: inode #917954: comm init: iget: checksum invalid /sbin/init: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 74 [ 5.271207] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00And debugfs reports
debugfs: stat <917954> Inode: 917954 Type: bad type Mode: 0000 Flags: 0x0 Generation: 0 Version: 0x00000000 User: 0 Group: 0 Size: 0 File ACL: 0 Links: 0 Blockcount: 0 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x00000000 -- Wed Dec 31 18:00:00 1969 atime: 0x00000000 -- Wed Dec 31 18:00:00 1969 mtime: 0x00000000 -- Wed Dec 31 18:00:00 1969 Size of extra inode fields: 0 Inode checksum: 0x00000000BLOCKS:
debugfs:
Quoted 9 lines
Quoted 5 lines
Bisecting this finds
Commit 244adf6426ee31a83f397b700d964cff12a247d3("ext4: makedioread_nolockthe default") as bad. If I revert the same on top of linus upstream(fb33c6510d5595144d585aa194d377cf74d31911) I don't hit the corrupttion anymore.Thanks for report and the bisection! Is this guest or host kernel that you were bisecting? I presume host but I want to make sure.
host kernel. W.r.t guest kernel, it is not dependent on guest kernel version. I was able to recreate with different guest kernel versions (ubuntu 5.3.0-42-generic kernel and also with upstream)
-aneesh
Quoted 41 lines · Ritesh Harjani
Quoted 33 lines · Aneesh Kumar K.V
Hi,
With new vm install I am finding corruption with the vm image if I follow up the install with echo 3 >
/proc/sys/vm/drop_cachesThe file system reports below error.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ...
[ 4.916017] EXT4-fs error (device vda2): ext4_lookup:1700: inode #787185: comm sh: iget: checksum invalid done.
[ 5.244312] EXT4-fs error (device vda2): ext4_lookup:1700: inode #917954: comm init: iget: checksum invalid [ 5.257246] EXT4-fs error (device vda2): ext4_lookup:1700: inode #917954: comm init: iget: checksum invalid/sbin/init: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 74 [ 5.271207] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00And debugfs reports
debugfs: stat <917954>
Inode: 917954 Type: bad type Mode: 0000 Flags:0x0
Generation: 0 Version:0x00000000
User: 0 Group: 0 Size: 0
File ACL: 0
Links: 0 Blockcount: 0
Fragment: Address: 0 Number: 0 Size: 0
ctime:0x00000000-- Wed Dec 31 18:00:00 1969
atime:0x00000000-- Wed Dec 31 18:00:00 1969
mtime:0x00000000-- Wed Dec 31 18:00:00 1969 Size of extra inode fields: 0
Inode checksum:0x00000000
BLOCKS:
debugfs:Quoted 4 lines
Bisecting this finds
Commit 244adf6426ee31a83f397b700d964cff12a247d3("ext4: makedioread_nolockthe default") as bad. If I revert the same on top of linus upstream(fb33c6510d5595144d585aa194d377cf74d31911) I don't hit the corrupttion anymore.
Quoted 8 lines
Tried replicating this and could easily replicate it on Power box. I tried to reproduce this on x86 too, but could not reproduce on x86. Now one difference on Power could be that pagesize is 64K and fs blocksize is 4K.
The issue looks like the guest qemu image file is not properly written back, after host does echo 3 >
drop_caches. (correct me if this is not the case).
Ok. So tried this issue with passing "cache=directsync" parameter to drive file. This parameter says it should bypass the host side page cache. With this parameter, I don't see this issue on Power box.
-ritesh
Quoted 24 lines
I tried replicating via below test, but it could not reproduce.
Any idea what kind of unit test could be written for this? I am not sure how exactly qemu is writing to it's image file.
1. Create 2 files. "mmap-file", "mmap-data".
2. "mmap-file" is a 2GB sparse file. Then at some random offsets (tried with both 64KB align and 4KB align offsets), try to write pagesize/blocksize amount of known data pattern.
3. These offsets (which are pagesize/blocksize align) are recorded into
"mmap-data" file via normal read/write calls.
4. Then after we wrote to both files, we munmap the "mmap-file" and
close both of these files.
5. Then we do echo 3 >drop_caches.
6. Then in the verify phase, using the offsets written in "mmap-data"
file, I read the "mmap-file" to verify if it's contents are proper or
not.
With that could not reproduce this issue.-ritesh
Jan Kara
reviewerQuoted 52 lines · Ritesh Harjani
Quoted 51 lines · Ritesh Harjani
Quoted 38 lines · Aneesh Kumar K.V
Hi,
With new vm install I am finding corruption with the vm image if I follow up the install with echo 3 >
/proc/sys/vm/drop_cachesThe file system reports below error.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ...
[ 4.916017] EXT4-fs error (device vda2): ext4_lookup:1700: inode #787185: comm sh: iget: checksum invalid
done.
[ 5.244312] EXT4-fs error (device vda2): ext4_lookup:1700: inode #917954: comm init: iget: checksum invalid
[ 5.257246] EXT4-fs error (device vda2): ext4_lookup:1700: inode #917954: comm init: iget: checksum invalid/sbin/init: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 74
[ 5.271207] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00And debugfs reports
debugfs: stat <917954>
Inode: 917954 Type: bad type Mode: 0000 Flags:0x0
Generation: 0 Version:0x00000000
User: 0 Group: 0 Size: 0
File ACL: 0
Links: 0 Blockcount: 0
Fragment: Address: 0 Number: 0 Size: 0
ctime:0x00000000-- Wed Dec 31 18:00:00 1969
atime:0x00000000-- Wed Dec 31 18:00:00 1969
mtime:0x00000000-- Wed Dec 31 18:00:00 1969 Size of extra inode fields: 0
Inode checksum:0x00000000
BLOCKS:
debugfs:Quoted 6 lines
Bisecting this finds
Commit 244adf6426ee31a83f397b700d964cff12a247d3("ext4: makedioread_nolockthe default")
as bad. If I revert the same on top of linus upstream(fb33c6510d5595144d585aa194d377cf74d31911) I don't hit the corrupttion anymore.Tried replicating this and could easily replicate it on Power box. I tried to reproduce this on x86 too, but could not reproduce on x86. Now one difference on Power could be that pagesize is 64K and fs blocksize is 4K.
Quoted 7 lines
Quoted 3 lines
The issue looks like the guest qemu image file is not properly written back, after host does echo 3 >
drop_caches. (correct me if this is not the case).Ok. So tried this issue with passing "cache=directsync" parameter to drive file. This parameter says it should bypass the host side page cache. With this parameter, I don't see this issue on Power box.
OK, so this likely means that there is something hosed in the writeback path using unwritten extents when blocksize < pagesize. Maybe we miss some conversion of unwritten extent to a written one and thus after dropping caches we effectively loose data?
Honza
Quoted 25 lines
Quoted 24 lines
I tried replicating via below test, but it could not reproduce.
Any idea what kind of unit test could be written for this? I am not sure how exactly qemu is writing to it's image file.
1. Create 2 files. "mmap-file", "mmap-data".
2. "mmap-file" is a 2GB sparse file. Then at some random offsets (tried with both 64KB align and 4KB align offsets), try to write pagesize/blocksize amount of known data pattern.
3. These offsets (which are pagesize/blocksize align) are recorded into "mmap-data" file via normal read/write calls.
4. Then after we wrote to both files, we munmap the "mmap-file" and close both of these files.
5. Then we do echo 3 >drop_caches.
6. Then in the verify phase, using the offsets written in "mmap-data" file, I read the "mmap-file" to verify if it's contents are proper or not.
With that could not reproduce this issue.-ritesh
Signature · 2 lines
Jan Kara <[email protected]> SUSE Labs, CR
Quoted 57 lines · Jan Kara
Quoted 56 lines · Ritesh Harjani
Quoted 54 lines · Ritesh Harjani
Quoted 38 lines · Aneesh Kumar K.V
Hi,
With new vm install I am finding corruption with the vm image if I follow up the install with echo 3 >
/proc/sys/vm/drop_cachesThe file system reports below error.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ...
[ 4.916017] EXT4-fs error (device vda2): ext4_lookup:1700: inode #787185: comm sh: iget: checksum invalid
done.
[ 5.244312] EXT4-fs error (device vda2): ext4_lookup:1700: inode #917954: comm init: iget: checksum invalid
[ 5.257246] EXT4-fs error (device vda2): ext4_lookup:1700: inode #917954: comm init: iget: checksum invalid/sbin/init: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 74
[ 5.271207] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00And debugfs reports
debugfs: stat <917954>
Inode: 917954 Type: bad type Mode: 0000 Flags:0x0
Generation: 0 Version:0x00000000
User: 0 Group: 0 Size: 0
File ACL: 0
Links: 0 Blockcount: 0
Fragment: Address: 0 Number: 0 Size: 0
ctime:0x00000000-- Wed Dec 31 18:00:00 1969
atime:0x00000000-- Wed Dec 31 18:00:00 1969
mtime:0x00000000-- Wed Dec 31 18:00:00 1969 Size of extra inode fields: 0
Inode checksum:0x00000000
BLOCKS:
debugfs:Quoted 6 lines
Bisecting this finds
Commit 244adf6426ee31a83f397b700d964cff12a247d3("ext4: makedioread_nolockthe default")
as bad. If I revert the same on top of linus upstream(fb33c6510d5595144d585aa194d377cf74d31911) I don't hit the corrupttion anymore.Tried replicating this and could easily replicate it on Power box. I tried to reproduce this on x86 too, but could not reproduce on x86. Now one difference on Power could be that pagesize is 64K and fs blocksize is 4K.
The issue looks like the guest qemu image file is not properly written back, after host does echo 3 >
drop_caches. (correct me if this is not the case).
Quoted 9 lines
Quoted 3 lines
Ok. So tried this issue with passing "cache=directsync" parameter to drive file. This parameter says it should bypass the host side page cache. With this parameter, I don't see this issue on Power box.
OK, so this likely means that there is something hosed in the writeback path using unwritten extents when blocksize < pagesize. Maybe we miss some conversion of unwritten extent to a written one and thus after dropping caches we effectively loose data?
Yes, that seems like it. I will try and create a small test case considering this. Also will go over the unwritten to written path and check what did I miss there.
Thanks
ritesh
Quoted 26 lines
Quoted 26 lines
Quoted 25 lines
I tried replicating via below test, but it could not reproduce.
Any idea what kind of unit test could be written for this? I am not sure how exactly qemu is writing to it's image file.
1. Create 2 files. "mmap-file", "mmap-data".
2. "mmap-file" is a 2GB sparse file. Then at some random offsets (tried with both 64KB align and 4KB align offsets), try to write pagesize/blocksize amount of known data pattern.
3. These offsets (which are pagesize/blocksize align) are recorded into "mmap-data" file via normal read/write calls.
4. Then after we wrote to both files, we munmap the "mmap-file" and close both of these files.
5. Then we do echo 3 >drop_caches.
6. Then in the verify phase, using the offsets written in "mmap-data" file, I read the "mmap-file" to verify if it's contents are proper or not.
With that could not reproduce this issue.-ritesh
PATCH 1/1 ext4: Don't set dioread_nolock by default for blocksize < pagesize
In reply to Aneesh Kumar K.VCurrently on calling echo 3 > drop_caches on host machine, we see FS corruption in the guest. This happens on Power machine where blocksize < pagesize.
So as a temporary workaound don't enable dioread_nolock by default for blocksize < pagesize until we identify the root cause.
Also emit a warning msg in case if this mount option is manually enabled for blocksize < pagesize.
--- fs/ext4/super.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-)
fs/ext4/super.c +12 -1
@@ -2186,6 +2186,14 @@ static int parse_options(char *options, struct super_block *sb, } }#endif +if (test_opt (sb,DIOREAD_NOLOCK )) { +int blocksize = +BLOCK_SIZE <<le32_to_cpu (sbi->s_es->s_log_block_size); +if (blocksize <PAGE_SIZE ) +ext4_msg (sb,KERN_WARNING ,"Warning: mounting with an " +"experimental mount option 'dioread_nolock' " +"for blocksize < PAGE_SIZE" ); + }return 1 ; }
@@ -3792,7 +3800,6 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent)set_opt (sb,NO_UID32 );/* xattr user namespace & acls are now defaulted on */ set_opt (sb,XATTR_USER ); -set_opt (sb,DIOREAD_NOLOCK );#ifdef CONFIG_EXT4_FS_POSIX_ACL set_opt (sb,POSIX_ACL );#endif
@@ -3842,6 +3849,10 @@ static int ext4_fill_super(struct super_block *sb, void *data, int silent) sbi->s_li_wait_mult =EXT4_DEF_LI_WAIT_MULT ; blocksize =BLOCK_SIZE <<le32_to_cpu (es->s_log_block_size); + +if (blocksize ==PAGE_SIZE ) +set_opt (sb,DIOREAD_NOLOCK ); +if (blocksize <EXT4_MIN_BLOCK_SIZE || blocksize >EXT4_MAX_BLOCK_SIZE ) { ext4_msg(sb, KERN_ERR,
Signature · 1 line
2.20.1
Re: [PATCH] ext4: Don't set dioread_nolock by default for blocksize < pagesize
Quoted 4 lines · Ritesh Harjani
Currently on calling echo 3 >
drop_cacheson host machine, we see FS corruption in the guest. This happens on Power machine where blocksize < pagesize.
Quoted 8 lines
So as a temporary workaound don't enable
dioread_nolockby default for blocksize < pagesize until we identify the root cause.Also emit a warning msg in case if this mount option is manually enabled for blocksize < pagesize.
Reported-by Aneesh Kumar K.V <[email protected]>Signed-off-by Ritesh Harjani <[email protected]>
Thanks, applied.
- Ted
Ritesh Harjani
reviewerRe: [PATCH] ext4: Don't set dioread_nolock by default for blocksize < pagesize
Hello stable-list,
I think this subjected patch [1] missed the below fixes tag. I guess the subjected patch is only picked for 5.7. And AFAIU, this patch will be needed for 5.6 as well.
Could you please do the needful.
-ritesh
Quoted 18 lines · Theodore Y. Ts'o
Quoted 4 lines · Ritesh Harjani
Currently on calling echo 3 >
drop_cacheson host machine, we see FS corruption in the guest. This happens on Power machine where blocksize < pagesize.Quoted 8 lines
So as a temporary workaound don't enable
dioread_nolockby default for blocksize < pagesize until we identify the root cause.Also emit a warning msg in case if this mount option is manually enabled for blocksize < pagesize.
Reported-by Aneesh Kumar K.V <[email protected]>Signed-off-by Ritesh Harjani <[email protected]>Thanks, applied.
- Ted
Re: [PATCH] ext4: Don't set dioread_nolock by default for blocksize < pagesize
Quoted 11 lines · Ritesh Harjani
Hello stable-list,
I think this subjected patch [1] missed the below fixes tag. I guess the subjected patch is only picked for 5.7. And AFAIU, this patch will be needed for 5.6 as well.
Could you please do the needful.
Fixes 244adf6426ee31a (ext4: make dioread_nolock the default)
This patch does not apply to the 5.6 kernel tree at all. Please provide a working backport if you wish to see it present there.
thanks,
greg k-h
Ritesh Harjani
reviewerRe: [PATCH] ext4: Don't set dioread_nolock by default for blocksize < pagesize
Hello Greg,
Quoted 7 lines · Greg KH
Quoted 6 lines · Ritesh Harjani
Hello stable-list,
I think this subjected patch [1] missed the below fixes tag. I guess the subjected patch is only picked for 5.7. And AFAIU, this patch will be needed for 5.6 as well.
Quoted 8 lines
Quoted 5 lines
Could you please do the needful.
Fixes 244adf6426ee31a (ext4: make dioread_nolock the default)This patch does not apply to the 5.6 kernel tree at all. Please provide a working backport if you wish to see it present there.
Sorry if that's the case.
I tried both "git cherry-pick" and "git am" with patch mentioned @ [1] to apply on branch "remotes/linux-stable/linux-5.6.y" of tree
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
and it applied cleanly.
Also, just noticed this patch in the queue. Is it that maybe you are trying to apply it twice?
Do let me know if I am missing anything here.
-ritesh
Re: [PATCH] ext4: Don't set dioread_nolock by default for blocksize < pagesize
Quoted 25 lines · Ritesh Harjani
Hello Greg,
Quoted 7 lines · Greg KH
Quoted 6 lines · Ritesh Harjani
Hello stable-list,
I think this subjected patch [1] missed the below fixes tag. I guess the subjected patch is only picked for 5.7. And AFAIU, this patch will be needed for 5.6 as well.
Quoted 8 lines
Quoted 5 lines
Could you please do the needful.
Fixes 244adf6426ee31a (ext4: make dioread_nolock the default)This patch does not apply to the 5.6 kernel tree at all. Please provide a working backport if you wish to see it present there.
Sorry if that's the case.
I tried both "git cherry-pick" and "git am" with patch mentioned @ [1] to apply on branch "remotes/linux-stable/linux-5.6.y" of tree
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
and it applied cleanly.
Quoted 4 lines
Also, just noticed this patch in the queue. Is it that maybe you are trying to apply it twice?
Odd, it didn't have the "upstream" commit id, which is why I didn't see that it was applied already.
Sasha, something went wrong with your scripts, you didn't sign-off on it either :(
greg k-h
Sasha Levin
maintainerRe: [PATCH] ext4: Don't set dioread_nolock by default for blocksize < pagesize
Quoted 29 lines · Greg KH
Quoted 28 lines · Ritesh Harjani
Hello Greg,
Quoted 7 lines · Greg KH
Quoted 6 lines · Ritesh Harjani
Hello stable-list,
I think this subjected patch [1] missed the below fixes tag. I guess the subjected patch is only picked for 5.7. And AFAIU, this patch will be needed for 5.6 as well.
Quoted 8 lines
Quoted 5 lines
Could you please do the needful.
Fixes 244adf6426ee31a (ext4: make dioread_nolock the default)This patch does not apply to the 5.6 kernel tree at all. Please provide a working backport if you wish to see it present there.
Sorry if that's the case.
I tried both "git cherry-pick" and "git am" with patch mentioned @ [1] to apply on branch "remotes/linux-stable/linux-5.6.y" of tree
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
and it applied cleanly.Also, just noticed this patch in the queue. Is it that maybe you are trying to apply it twice?
Quoted 7 lines
Odd, it didn't have the "upstream" commit id, which is why I didn't see that it was applied already.
Sasha, something went wrong with your scripts, you didn't sign-off on it either :(
Crap, sorry. I'll fix it up.
I'm testing out a new script that integrates the dependency mappings I have with the rest of the script, and it looks like there are some quirks I need to deal with.
Signature · 2 lines
Thanks, Sasha
Re: [PATCH] ext4: Don't set dioread_nolock by default for blocksize < pagesize
Quoted 32 lines · Sasha Levin
Quoted 31 lines · Greg KH
Quoted 29 lines · Ritesh Harjani
Hello Greg,
Quoted 7 lines · Greg KH
Quoted 6 lines · Ritesh Harjani
Hello stable-list,
I think this subjected patch [1] missed the below fixes tag. I guess the subjected patch is only picked for 5.7. And AFAIU, this patch will be needed for 5.6 as well.
Quoted 8 lines
Quoted 5 lines
Could you please do the needful.
Fixes 244adf6426ee31a (ext4: make dioread_nolock the default)This patch does not apply to the 5.6 kernel tree at all. Please provide a working backport if you wish to see it present there.
Sorry if that's the case.
I tried both "git cherry-pick" and "git am" with patch mentioned @ [1] to apply on branch "remotes/linux-stable/linux-5.6.y" of tree
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
and it applied cleanly.Also, just noticed this patch in the queue. Is it that maybe you are trying to apply it twice?
Quoted 7 lines
Quoted 5 lines
Odd, it didn't have the "upstream" commit id, which is why I didn't see that it was applied already.
Sasha, something went wrong with your scripts, you didn't sign-off on it either :(
Crap, sorry. I'll fix it up.
I already did :)