# git rev-parse -q --verify 8374cfe647a1f360be3228b949dd6d753c55c19c^{commit} # git fetch -q -n -f git://fs.ozlabs.ibm.com/kernel/linus master warning: The last gc run reported the following. Please correct the root cause and remove .git/gc.log. Automatic cleanup will not be performed until the file is removed. warning: There are too many unreachable loose objects; run 'git prune' to remove them. # git rev-parse -q --verify 8374cfe647a1f360be3228b949dd6d753c55c19c^{commit} 8374cfe647a1f360be3228b949dd6d753c55c19c # git checkout -q -f -B kisskb 8374cfe647a1f360be3228b949dd6d753c55c19c # git clean -qxdf # < git log -1 # commit 8374cfe647a1f360be3228b949dd6d753c55c19c # Merge: c013d0af81f6 9dd1cd3220ec # Author: Linus Torvalds # Date: Tue Aug 2 14:21:25 2022 -0700 # # Merge tag 'for-6.0/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm # # Pull device mapper updates from Mike Snitzer: # # - Refactor DM core's mempool allocation so that it clearer by not being # split acorss files. # # - Improve DM core's BLK_STS_DM_REQUEUE and BLK_STS_AGAIN handling. # # - Optimize DM core's more common bio splitting by eliminating the use # of bio cloning with bio_split+bio_chain. Shift that cloning cost to # the relatively unlikely dm_io requeue case that only occurs during # error handling. Introduces dm_io_rewind() that will clone a bio that # reflects the subset of the original bio that must be requeued. # # - Remove DM core's dm_table_get_num_targets() wrapper and audit all # dm_table_get_target() callers. # # - Fix potential for OOM with DM writecache target by setting a default # MAX_WRITEBACK_JOBS (set to 256MiB or 1/16 of total system memory, # whichever is smaller). # # - Fix DM writecache target's stats that are reported through # DM-specific table info. # # - Fix use-after-free crash in dm_sm_register_threshold_callback(). # # - Refine DM core's Persistent Reservation handling in preparation for # broader work Mike Christie is doing to add compatibility with # Microsoft Windows Failover Cluster. # # - Fix various KASAN reported bugs in the DM raid target. # # - Fix DM raid target crash due to md_handle_request() bio splitting # that recurses to block core without properly initializing the bio's # bi_dev. # # - Fix some code comment typos and fix some Documentation formatting. # # * tag 'for-6.0/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm: (29 commits) # dm: fix dm-raid crash if md_handle_request() splits bio # dm raid: fix address sanitizer warning in raid_resume # dm raid: fix address sanitizer warning in raid_status # dm: Start pr_preempt from the same starting path # dm: Fix PR release handling for non All Registrants # dm: Start pr_reserve from the same starting path # dm: Allow dm_call_pr to be used for path searches # dm: return early from dm_pr_call() if DM device is suspended # dm thin: fix use-after-free crash in dm_sm_register_threshold_callback # dm writecache: count number of blocks discarded, not number of discard bios # dm writecache: count number of blocks written, not number of write bios # dm writecache: count number of blocks read, not number of read bios # dm writecache: return void from functions # dm kcopyd: use __GFP_HIGHMEM when allocating pages # dm writecache: set a default MAX_WRITEBACK_JOBS # Documentation: dm writecache: Render status list as list # Documentation: dm writecache: add blank line before optional parameters # dm snapshot: fix typo in snapshot_map() comment # dm raid: remove redundant "the" in parse_raid_params() comment # dm cache: fix typo in 2 comment blocks # ... # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux-ld --version # < git log --format=%s --max-count=1 8374cfe647a1f360be3228b949dd6d753c55c19c # < make -s -j 32 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- randconfig # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # < make -s -j 32 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- help # make -s -j 32 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- olddefconfig # make -s -j 32 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- /kisskb/src/lib/test_kasan.c: In function 'krealloc_less_oob_helper.constprop': /kisskb/src/lib/test_kasan.c:330:59: warning: array subscript 201 is outside array bounds of 'char[201]' [-Warray-bounds] 330 | KUNIT_EXPECT_KASAN_FAIL(test, ptr2[size2] = 'x'); | ~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:322:16: note: referencing an object of size 201 allocated by 'krealloc' 322 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_kasan.c:334:59: warning: array subscript 208 is outside array bounds of 'char[201]' [-Warray-bounds] 334 | ptr2[round_up(size2, KASAN_GRANULE_SIZE)] = 'x'); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:322:16: note: referencing an object of size 201 allocated by 'krealloc' 322 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_kasan.c:344:52: warning: array subscript 218 is outside array bounds of 'char[201]' [-Warray-bounds] 344 | KUNIT_EXPECT_KASAN_FAIL(test, ptr2[middle] = 'x'); | ~~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:322:16: note: referencing an object of size 201 allocated by 'krealloc' 322 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_kasan.c:345:55: warning: array subscript 234 is outside array bounds of 'char[201]' [-Warray-bounds] 345 | KUNIT_EXPECT_KASAN_FAIL(test, ptr2[size1 - 1] = 'x'); | ~~~~~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:322:16: note: referencing an object of size 201 allocated by 'krealloc' 322 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_kasan.c:346:51: warning: array subscript 235 is outside array bounds of 'char[201]' [-Warray-bounds] 346 | KUNIT_EXPECT_KASAN_FAIL(test, ptr2[size1] = 'x'); | ~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:322:16: note: referencing an object of size 201 allocated by 'krealloc' 322 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_kasan.c: In function 'krealloc_more_oob_helper.constprop': /kisskb/src/lib/test_kasan.c:301:59: warning: array subscript 235 is outside array bounds of 'char[235]' [-Warray-bounds] 301 | KUNIT_EXPECT_KASAN_FAIL(test, ptr2[size2] = 'x'); | ~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:290:16: note: referencing an object of size 235 allocated by 'krealloc' 290 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_kasan.c:305:59: warning: array subscript 240 is outside array bounds of 'char[235]' [-Warray-bounds] 305 | ptr2[round_up(size2, KASAN_GRANULE_SIZE)] = 'x'); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:290:16: note: referencing an object of size 235 allocated by 'krealloc' 290 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Completed OK # rm -rf /kisskb/build/linus-rand_arm64-randconfig_arm64-gcc11 # Build took: 0:11:28.146462