# git rev-parse -q --verify ca57f02295f188d6c65ec02202402979880fa6d8^{commit} ca57f02295f188d6c65ec02202402979880fa6d8 already have revision, skipping fetch # git checkout -q -f -B kisskb ca57f02295f188d6c65ec02202402979880fa6d8 # git clean -qxdf # < git log -1 # commit ca57f02295f188d6c65ec02202402979880fa6d8 # Author: David Howells # Date: Mon Nov 28 22:02:56 2022 +0000 # # afs: Fix fileserver probe RTT handling # # The fileserver probing code attempts to work out the best fileserver to # use for a volume by retrieving the RTT calculated by AF_RXRPC for the # probe call sent to each server and comparing them. Sometimes, however, # no RTT estimate is available and rxrpc_kernel_get_srtt() returns false, # leading good fileservers to be given an RTT of UINT_MAX and thus causing # the rotation algorithm to ignore them. # # Fix afs_select_fileserver() to ignore rxrpc_kernel_get_srtt()'s return # value and just take the estimated RTT it provides - which will be capped # at 1 second. # # Fixes: 1d4adfaf6574 ("rxrpc: Make rxrpc_kernel_get_srtt() indicate validity") # Signed-off-by: David Howells # Reviewed-by: Marc Dionne # Tested-by: Marc Dionne # cc: linux-afs@lists.infradead.org # Link: https://lore.kernel.org/r/166965503999.3392585.13954054113218099395.stgit@warthog.procyon.org.uk/ # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux-ld --version # < git log --format=%s --max-count=1 ca57f02295f188d6c65ec02202402979880fa6d8 # < make -s -j 24 ARCH=s390 O=/kisskb/build/linus_s390-defconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- defconfig # Added to kconfig CONFIG_DEBUG_INFO_BTF=n # Added to kconfig # < make -s -j 24 ARCH=s390 O=/kisskb/build/linus_s390-defconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- help # make -s -j 24 ARCH=s390 O=/kisskb/build/linus_s390-defconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- olddefconfig .config:3642:warning: override: reassigning to symbol DEBUG_INFO_BTF # make -s -j 24 ARCH=s390 O=/kisskb/build/linus_s390-defconfig_s390x-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/s390-linux/bin/s390-linux- In function 'setup_lowcore_dat_on', inlined from 'setup_arch' at /kisskb/src/arch/s390/kernel/setup.c:1059:2: /kisskb/src/arch/s390/kernel/setup.c:524:9: warning: 'memcpy' offset [0, 127] is out of the bounds [0, 0] [-Warray-bounds] 524 | memcpy(abs_lc->cregs_save_area, S390_lowcore.cregs_save_area, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 525 | sizeof(abs_lc->cregs_save_area)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Completed OK # rm -rf /kisskb/build/linus_s390-defconfig_s390x-gcc11 # Build took: 0:09:19.050400