bisecting fixing commit since dcc5c6f013d841e9ae74d527d312d512dfc2e2f0 building syzkaller on d5a3ae1f760e7cb2cd5a721d9645ae22eae114fe testing commit dcc5c6f013d841e9ae74d527d312d512dfc2e2f0 with gcc (GCC) 8.1.0 kernel signature: 4062326ac07a384a9984bb47cfc8a5ae08ebbd38dcefd74b24cc35f0d6ef474c run #0: crashed: WARNING: ODEBUG bug in exit_to_user_mode_prepare run #1: crashed: WARNING: ODEBUG bug in exit_to_user_mode_prepare run #2: crashed: kernel BUG at fs/inode.c:LINE! run #3: crashed: WARNING: ODEBUG bug in exit_to_user_mode_prepare run #4: crashed: WARNING: ODEBUG bug in exit_to_user_mode_prepare run #5: crashed: WARNING: ODEBUG bug in exit_to_user_mode_prepare run #6: crashed: WARNING: ODEBUG bug in exit_to_user_mode_prepare run #7: crashed: WARNING: ODEBUG bug in exit_to_user_mode_prepare run #8: crashed: WARNING: ODEBUG bug in exit_to_user_mode_prepare run #9: crashed: WARNING: ODEBUG bug in exit_to_user_mode_prepare testing current HEAD c85fb28b6f999db9928b841f63f1beeb3074eeca testing commit c85fb28b6f999db9928b841f63f1beeb3074eeca with gcc (GCC) 8.1.0 kernel signature: d5aec2bedb5e1d8cbff4215b712bc0f617218bee36936bb17013f1a253092112 all runs: OK # git bisect start c85fb28b6f999db9928b841f63f1beeb3074eeca dcc5c6f013d841e9ae74d527d312d512dfc2e2f0 Bisecting: 779 revisions left to test after this (roughly 10 steps) [1fd79656f7d59b2ccfc8d7ec8136db60d21f1e0a] Merge tag 'iommu-fixes-v5.9-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu testing commit 1fd79656f7d59b2ccfc8d7ec8136db60d21f1e0a with gcc (GCC) 8.1.0 kernel signature: eb97c29e600157c48588cd766314efcf080ea435ab5b269b8a5c9eab73e01174 all runs: OK # git bisect bad 1fd79656f7d59b2ccfc8d7ec8136db60d21f1e0a Bisecting: 387 revisions left to test after this (roughly 9 steps) [70187f7727d4ddd8282b576ece93ca233e88b19e] Merge tag 'arc-5.9-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc testing commit 70187f7727d4ddd8282b576ece93ca233e88b19e with gcc (GCC) 8.1.0 kernel signature: 5b84db4df1c9f6e960e899df95de8322bd747dd5512042fe241e2d07193b46f6 all runs: OK # git bisect bad 70187f7727d4ddd8282b576ece93ca233e88b19e Bisecting: 170 revisions left to test after this (roughly 8 steps) [3e8d3bdc2a757cc6be5470297947799a7df445cc] Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net testing commit 3e8d3bdc2a757cc6be5470297947799a7df445cc with gcc (GCC) 8.1.0 kernel signature: 756d09f9791cd7b85022bed3a1c6526656d3fd858c695982d736b0adf85036cd all runs: OK # git bisect bad 3e8d3bdc2a757cc6be5470297947799a7df445cc Bisecting: 110 revisions left to test after this (roughly 7 steps) [05d4487197b2b71d5363623c28924fd58c71c0b6] ipv6: Fix sysctl max for fib_multipath_hash_policy testing commit 05d4487197b2b71d5363623c28924fd58c71c0b6 with gcc (GCC) 8.1.0 kernel signature: e9df49fa28ffa816d1a7b504d84be853069779a25b7e399719bc8d2c0e35b9ea all runs: crashed: WARNING: ODEBUG bug in exit_to_user_mode_prepare # git bisect good 05d4487197b2b71d5363623c28924fd58c71c0b6 Bisecting: 50 revisions left to test after this (roughly 6 steps) [9c7d619be5a002ea29c172df5e3c1227c22cbb41] Merge tag 'perf-tools-fixes-for-v5.9-2020-09-01' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux testing commit 9c7d619be5a002ea29c172df5e3c1227c22cbb41 with gcc (GCC) 8.1.0 kernel signature: 409c86e673fd4877e65fc1904b4a74e89717fd61e1aa03c06e5f52a2fa3ce305 run #0: crashed: WARNING: ODEBUG bug in get_signal run #1: crashed: WARNING: ODEBUG bug in get_signal run #2: crashed: WARNING: ODEBUG bug in exit_to_user_mode_prepare run #3: crashed: WARNING: ODEBUG bug in exit_to_user_mode_prepare run #4: crashed: WARNING: ODEBUG bug in exit_to_user_mode_prepare run #5: crashed: WARNING: ODEBUG bug in exit_to_user_mode_prepare run #6: crashed: WARNING: ODEBUG bug in exit_to_user_mode_prepare run #7: crashed: WARNING: ODEBUG bug in exit_to_user_mode_prepare run #8: crashed: WARNING: ODEBUG bug in exit_to_user_mode_prepare run #9: crashed: WARNING: ODEBUG bug in get_signal # git bisect good 9c7d619be5a002ea29c172df5e3c1227c22cbb41 Bisecting: 29 revisions left to test after this (roughly 5 steps) [fc3abb53250a90ba2150eebd182137c136f4d25a] Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid testing commit fc3abb53250a90ba2150eebd182137c136f4d25a with gcc (GCC) 8.1.0 kernel signature: a1e7d8036be67705052f16deb9434829648034e85b269988485169d074d8a2ad all runs: OK # git bisect bad fc3abb53250a90ba2150eebd182137c136f4d25a Bisecting: 13 revisions left to test after this (roughly 3 steps) [3a653b205f29b3f9827a01a0c88bfbcb0d169494] dm thin metadata: Fix use-after-free in dm_bm_set_read_only testing commit 3a653b205f29b3f9827a01a0c88bfbcb0d169494 with gcc (GCC) 8.1.0 kernel signature: 18e4dbfa16c38eaea1d75dd4ce3f4ec7a87798f256ec07cba1986824822b7ec8 run #0: crashed: WARNING: ODEBUG bug in exit_to_user_mode_prepare run #1: crashed: WARNING: ODEBUG bug in exit_to_user_mode_prepare run #2: crashed: WARNING: ODEBUG bug in exit_to_user_mode_prepare run #3: crashed: WARNING: ODEBUG bug in exit_to_user_mode_prepare run #4: crashed: WARNING: ODEBUG bug in exit_to_user_mode_prepare run #5: crashed: WARNING: ODEBUG bug in exit_to_user_mode_prepare run #6: crashed: WARNING: ODEBUG bug in exit_to_user_mode_prepare run #7: crashed: WARNING: ODEBUG bug in exit_to_user_mode_prepare run #8: crashed: WARNING: ODEBUG bug in exit_to_user_mode_prepare run #9: crashed: WARNING: ODEBUG bug in corrupted # git bisect good 3a653b205f29b3f9827a01a0c88bfbcb0d169494 Bisecting: 6 revisions left to test after this (roughly 3 steps) [e1d0126ca3a66c284a02b083a42e2b39558002cd] Merge tag 'xfs-5.9-fixes-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux testing commit e1d0126ca3a66c284a02b083a42e2b39558002cd with gcc (GCC) 8.1.0 kernel signature: 8239a4d2cc8e4c96429394b064ea9cf587375832877c277bcaba2d226eed424e all runs: OK # git bisect bad e1d0126ca3a66c284a02b083a42e2b39558002cd Bisecting: 3 revisions left to test after this (roughly 2 steps) [f4020438fab05364018c91f7e02ebdd192085933] xfs: fix boundary test in xfs_attr_shortform_verify testing commit f4020438fab05364018c91f7e02ebdd192085933 with gcc (GCC) 8.1.0 kernel signature: ed68cc423e067e7c3b5d89b2f1a0c8445c521e21d04437f587956825e4e4fe6a all runs: OK # git bisect bad f4020438fab05364018c91f7e02ebdd192085933 Bisecting: 0 revisions left to test after this (roughly 1 step) [657f101930bc6c5b41bd7d6c22565c4302a80d33] xfs: fix off-by-one in inode alloc block reservation calculation testing commit 657f101930bc6c5b41bd7d6c22565c4302a80d33 with gcc (GCC) 8.1.0 kernel signature: 6e58a954682461c92e302cf7a32a0a3a2cdc07c344dc4f6ba6cb72d4a1f495ec all runs: OK # git bisect bad 657f101930bc6c5b41bd7d6c22565c4302a80d33 Bisecting: 0 revisions left to test after this (roughly 0 steps) [9c516e0e4554e8f26ab73d46cbc789d7d8db664d] xfs: finish dfops on every insert range shift iteration testing commit 9c516e0e4554e8f26ab73d46cbc789d7d8db664d with gcc (GCC) 8.1.0 kernel signature: e080bb8a43f2ca1b83955f11cda584d0628ac7f16166d81b58d73714068bfe4b all runs: OK # git bisect bad 9c516e0e4554e8f26ab73d46cbc789d7d8db664d 9c516e0e4554e8f26ab73d46cbc789d7d8db664d is the first bad commit commit 9c516e0e4554e8f26ab73d46cbc789d7d8db664d Author: Brian Foster Date: Tue Aug 18 08:05:58 2020 -0700 xfs: finish dfops on every insert range shift iteration The recent change to make insert range an atomic operation used the incorrect transaction rolling mechanism. The explicit transaction roll does not finish deferred operations. This means that intents for rmapbt updates caused by extent shifts are not logged until the final transaction commits. Thus if a crash occurs during an insert range, log recovery might leave the rmapbt in an inconsistent state. This was discovered by repeated runs of generic/455. Update insert range to finish dfops on every shift iteration. This is similar to collapse range and ensures that intents are logged with the transactions that make associated changes. Fixes: dd87f87d87fa ("xfs: rework insert range into an atomic operation") Signed-off-by: Brian Foster Reviewed-by: Darrick J. Wong Signed-off-by: Darrick J. Wong fs/xfs/xfs_bmap_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) parent commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 wasn't tested testing commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 with gcc (GCC) 8.1.0 kernel signature: 0fd727dbd2567c2f25929ad2f87558a950842ea2581c611a6ecabc48f2480313 culprit signature: e080bb8a43f2ca1b83955f11cda584d0628ac7f16166d81b58d73714068bfe4b parent signature: 0fd727dbd2567c2f25929ad2f87558a950842ea2581c611a6ecabc48f2480313 revisions tested: 13, total time: 3h3m7.118318208s (build: 1h10m23.585766961s, test: 1h51m17.237694814s) first good commit: 9c516e0e4554e8f26ab73d46cbc789d7d8db664d xfs: finish dfops on every insert range shift iteration recipients (to): ["bfoster@redhat.com" "darrick.wong@oracle.com" "darrick.wong@oracle.com" "linux-kernel@vger.kernel.org" "linux-xfs@vger.kernel.org"] recipients (cc): []