# 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/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 ca57f02295f188d6c65ec02202402979880fa6d8 # < make -s -j 160 ARCH=arm64 O=/kisskb/build/linus_arm64-defconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- defconfig # < make -s -j 160 ARCH=arm64 O=/kisskb/build/linus_arm64-defconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- help # make -s -j 160 ARCH=arm64 O=/kisskb/build/linus_arm64-defconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- olddefconfig # make -s -j 160 ARCH=arm64 O=/kisskb/build/linus_arm64-defconfig_arm64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/aarch64-linux/bin/aarch64-linux- Completed OK # rm -rf /kisskb/build/linus_arm64-defconfig_arm64-gcc11 # Build took: 0:06:53.326248