bisecting fixing commit since 7f75285ca572eaabc028cf78c6ab5473d0d160be building syzkaller on fcdb12ba70875c410749932abf39160d19c753d9 testing commit 7f75285ca572eaabc028cf78c6ab5473d0d160be with gcc (GCC) 10.2.1 20210217 kernel signature: 2ee9a5422b33e3f79fe75774d4b13db175b40132bb8adddd56b72f4971f0ad08 all runs: crashed: WARNING in sta_info_alloc testing current HEAD d936eb23874433caa3e3d841cfa16f5434b85dcf testing commit d936eb23874433caa3e3d841cfa16f5434b85dcf with gcc (GCC) 10.2.1 20210217 kernel signature: 5241b4512d9be5d20d7532566ba66f8d0ad2b793aba66df2535204377b255dda all runs: OK # git bisect start d936eb23874433caa3e3d841cfa16f5434b85dcf 7f75285ca572eaabc028cf78c6ab5473d0d160be Bisecting: 15720 revisions left to test after this (roughly 14 steps) [83aacfbcbd42eec3882423bbafcb8b3190376ed8] w1: fix build warning in w1_ds2438.rst testing commit 83aacfbcbd42eec3882423bbafcb8b3190376ed8 with gcc (GCC) 10.2.1 20210217 kernel signature: cf77d0d1c46f1fc1423e424fbaea4ae404a8ef575a6fa90d9e6683616fae18f6 all runs: crashed: WARNING in sta_info_alloc # git bisect good 83aacfbcbd42eec3882423bbafcb8b3190376ed8 Bisecting: 8470 revisions left to test after this (roughly 13 steps) [bcb9928a155444dbd212473e60241ca0a7f641e1] net: dsa: properly check for the bridge_leave methods in dsa_switch_bridge_leave() testing commit bcb9928a155444dbd212473e60241ca0a7f641e1 with gcc (GCC) 10.2.1 20210217 kernel signature: f3d6a04925508da934148fe9acc504c79acd75117c269a7a75ba8cbc727105d6 all runs: OK # git bisect bad bcb9928a155444dbd212473e60241ca0a7f641e1 Bisecting: 3624 revisions left to test after this (roughly 12 steps) [dd912f43bbda87ed37099a9287e4fbb7c85af706] Bluetooth: btmrvl: remove redundant continue statement testing commit dd912f43bbda87ed37099a9287e4fbb7c85af706 with gcc (GCC) 10.2.1 20210217 kernel signature: 0e8cb8f350ce5e26c8e3c6e48a15a5b8baf7d2c30a718e752e6a2f577c16f60f run #0: crashed: BUG: sleeping function called from invalid context in lock_sock_nested run #1: crashed: BUG: sleeping function called from invalid context in lock_sock_nested run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK reproducer seems to be flaky # git bisect good dd912f43bbda87ed37099a9287e4fbb7c85af706 Bisecting: 1799 revisions left to test after this (roughly 11 steps) [a60c538ed2ff9d084544a894219eed9c5ab980e5] Merge tag 'integrity-v5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity testing commit a60c538ed2ff9d084544a894219eed9c5ab980e5 with gcc (GCC) 10.2.1 20210217 kernel signature: 2e925378ca6149664785c09d37a55aeddea9c52e33e9b941ed7134c0ffff7e5c run #0: crashed: BUG: sleeping function called from invalid context in lock_sock_nested run #1: crashed: BUG: sleeping function called from invalid context in lock_sock_nested run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK # git bisect good a60c538ed2ff9d084544a894219eed9c5ab980e5 Bisecting: 902 revisions left to test after this (roughly 10 steps) [ebb81c14543fb43cb2e1f2bfb5d32f5e390cf895] Merge tag 'mailbox-v5.14' of git://git.linaro.org/landing-teams/working/fujitsu/integration testing commit ebb81c14543fb43cb2e1f2bfb5d32f5e390cf895 with gcc (GCC) 10.2.1 20210217 kernel signature: 84f05e6940bc23f463c3b7188897ecef25ffccdd688d69592bfeaedfea8103d5 all runs: OK # git bisect bad ebb81c14543fb43cb2e1f2bfb5d32f5e390cf895 Bisecting: 437 revisions left to test after this (roughly 9 steps) [3563f55ce65462063543dfa6a8d8c7fbfb9d7772] Merge tag 'pm-5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm testing commit 3563f55ce65462063543dfa6a8d8c7fbfb9d7772 with gcc (GCC) 10.2.1 20210217 kernel signature: 7e05b5a912cdb122668ed49c5aad6420e2bd91d6071a9297f0ae2459ab2b4dda all runs: OK # git bisect bad 3563f55ce65462063543dfa6a8d8c7fbfb9d7772 Bisecting: 230 revisions left to test after this (roughly 8 steps) [233a806b00e31b3ab8d57a68f1aab40cf1e5eaea] Merge tag 'docs-5.14' of git://git.lwn.net/linux testing commit 233a806b00e31b3ab8d57a68f1aab40cf1e5eaea with gcc (GCC) 10.2.1 20210217 kernel signature: 3bd2e65e3d120ad02fac69c2a96af0bc1ae6dad564cc2ca0dd53a00bbae94263 all runs: OK # git bisect bad 233a806b00e31b3ab8d57a68f1aab40cf1e5eaea Bisecting: 113 revisions left to test after this (roughly 7 steps) [3c1be84b8d82959a6b7fedb598b8781fa1d09421] docs: path-lookup: update get_link() ->follow_link description testing commit 3c1be84b8d82959a6b7fedb598b8781fa1d09421 with gcc (GCC) 10.2.1 20210217 kernel signature: 6e1cc6d90ef3bba7d14d707ac4f80e343cbb332289497048cb08e6bd8c596683 all runs: crashed: WARNING in sta_info_alloc # git bisect good 3c1be84b8d82959a6b7fedb598b8781fa1d09421 Bisecting: 56 revisions left to test after this (roughly 6 steps) [3b8358407aac088564f7db35ea842376686d0c92] btrfs: refactor btrfs_invalidatepage() for subpage support testing commit 3b8358407aac088564f7db35ea842376686d0c92 with gcc (GCC) 10.2.1 20210217 kernel signature: 63b9313d994d181062d82ab0662b4fdd268b28a2727375743d0ef078b589e0ed all runs: OK # git bisect bad 3b8358407aac088564f7db35ea842376686d0c92 Bisecting: 28 revisions left to test after this (roughly 5 steps) [7735cd755b590f34a2b019a0a980dd56493a4d65] btrfs: scrub: factor out common scrub_stripe constraints testing commit 7735cd755b590f34a2b019a0a980dd56493a4d65 with gcc (GCC) 10.2.1 20210217 kernel signature: d1c74bafa1130f29452bae5b733eaaecfaede69f00d2d8e7046e01b7a6041bff run #0: crashed: BUG: sleeping function called from invalid context in lock_sock_nested run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK # git bisect good 7735cd755b590f34a2b019a0a980dd56493a4d65 Bisecting: 14 revisions left to test after this (roughly 4 steps) [356b4a2dc151c65e5abce07b7c0e4a146769892b] btrfs: optimize variables size in btrfs_submit_compressed_read testing commit 356b4a2dc151c65e5abce07b7c0e4a146769892b with gcc (GCC) 10.2.1 20210217 kernel signature: 583c57775e099b87ff058981ca8f31e3bb858934d72f97c760ec8967e627bfc5 all runs: OK # git bisect bad 356b4a2dc151c65e5abce07b7c0e4a146769892b Bisecting: 6 revisions left to test after this (roughly 3 steps) [907d2710d727541fffabdc52a025916d5109b3e5] btrfs: add cancellable chunk relocation support testing commit 907d2710d727541fffabdc52a025916d5109b3e5 with gcc (GCC) 10.2.1 20210217 kernel signature: ff537132aaaadca97f2ae11cd2222c35c035d23645974c728e083c6ad0227e7d all runs: OK # git bisect bad 907d2710d727541fffabdc52a025916d5109b3e5 Bisecting: 3 revisions left to test after this (roughly 2 steps) [ff14aa798756a6b98b6020e51e52168128ffa9d7] btrfs: remove extra sb::s_id from message in btrfs_validate_metadata_buffer testing commit ff14aa798756a6b98b6020e51e52168128ffa9d7 with gcc (GCC) 10.2.1 20210217 kernel signature: b4376aa17fc76bd8ac34d48b0aaa589e9b89459f2288680e051868b95ca96868 all runs: OK # git bisect bad ff14aa798756a6b98b6020e51e52168128ffa9d7 Bisecting: 0 revisions left to test after this (roughly 1 step) [282ab3ff16120ec670fe3330e85f8ebf13092f21] btrfs: reduce compressed_bio members' types testing commit 282ab3ff16120ec670fe3330e85f8ebf13092f21 with gcc (GCC) 10.2.1 20210217 kernel signature: 7fb4e7730a715e3d822537dd513a6ccb3b627264486e95ddec36e363070795be all runs: OK # git bisect bad 282ab3ff16120ec670fe3330e85f8ebf13092f21 Bisecting: 0 revisions left to test after this (roughly 0 steps) [49547068f6fdd148d62eaeb06163213422125d9b] btrfs: document byte swap optimization of root_item::flags accessors testing commit 49547068f6fdd148d62eaeb06163213422125d9b with gcc (GCC) 10.2.1 20210217 kernel signature: 80bd663fdcbe597da0fa8d5d28a58c55c956027a96e53ff1e7351c1d0e7fe84f run #0: crashed: BUG: sleeping function called from invalid context in lock_sock_nested run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK # git bisect good 49547068f6fdd148d62eaeb06163213422125d9b 282ab3ff16120ec670fe3330e85f8ebf13092f21 is the first bad commit commit 282ab3ff16120ec670fe3330e85f8ebf13092f21 Author: David Sterba Date: Mon Oct 14 14:38:33 2019 +0200 btrfs: reduce compressed_bio members' types Several members of compressed_bio are of type that's unnecessarily big for the values that they'd hold: - the size of the uncompressed and compressed data is 128K now, we can keep is as int - same for number of pages - the compress type fits to a byte - the errors is 0/1 The size of the unpatched structure is 80 bytes with several holes. Reordering nr_pages next to the pages the hole after pending_bios is filled and the resulting size is 56 bytes. This keeps the csums array aligned to 8 bytes, which is nice. Further size optimizations may be possible but right now it looks good to me: struct compressed_bio { refcount_t pending_bios; /* 0 4 */ unsigned int nr_pages; /* 4 4 */ struct page * * compressed_pages; /* 8 8 */ struct inode * inode; /* 16 8 */ u64 start; /* 24 8 */ unsigned int len; /* 32 4 */ unsigned int compressed_len; /* 36 4 */ u8 compress_type; /* 40 1 */ u8 errors; /* 41 1 */ /* XXX 2 bytes hole, try to pack */ int mirror_num; /* 44 4 */ struct bio * orig_bio; /* 48 8 */ u8 sums[]; /* 56 0 */ /* size: 56, cachelines: 1, members: 12 */ /* sum members: 54, holes: 1, sum holes: 2 */ /* last cacheline: 56 bytes */ }; Reviewed-by: Anand Jain Signed-off-by: David Sterba fs/btrfs/compression.c | 2 +- fs/btrfs/compression.h | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) culprit signature: 7fb4e7730a715e3d822537dd513a6ccb3b627264486e95ddec36e363070795be parent signature: 80bd663fdcbe597da0fa8d5d28a58c55c956027a96e53ff1e7351c1d0e7fe84f Reproducer flagged being flaky revisions tested: 17, total time: 4h18m9.97167563s (build: 1h53m52.178069461s, test: 2h22m21.419233327s) first good commit: 282ab3ff16120ec670fe3330e85f8ebf13092f21 btrfs: reduce compressed_bio members' types recipients (to): ["anand.jain@oracle.com" "clm@fb.com" "dsterba@suse.com" "dsterba@suse.com" "josef@toxicpanda.com" "linux-btrfs@vger.kernel.org"] recipients (cc): ["linux-kernel@vger.kernel.org"]