# git rev-parse -q --verify c74386d50fbaf4a54fd3fe560f1abc709c0cff4b^{commit} c74386d50fbaf4a54fd3fe560f1abc709c0cff4b already have revision, skipping fetch # git checkout -q -f -B kisskb c74386d50fbaf4a54fd3fe560f1abc709c0cff4b # git clean -qxdf # < git log -1 # commit c74386d50fbaf4a54fd3fe560f1abc709c0cff4b # Author: David Howells # Date: Tue Nov 19 21:00:36 2019 +0000 # # afs: Fix missing timeout reset # # In afs_wait_for_call_to_complete(), rather than immediately aborting an # operation if a signal occurs, the code attempts to wait for it to # complete, using a schedule timeout of 2*RTT (or min 2 jiffies) and a # check that we're still receiving relevant packets from the server before # we consider aborting the call. We may even ping the server to check on # the status of the call. # # However, there's a missing timeout reset in the event that we do # actually get a packet to process, such that if we then get a couple of # short stalls, we then time out when progress is actually being made. # # Fix this by resetting the timeout any time we get something to process. # If it's the failure of the call then the call state will get changed and # we'll exit the loop shortly thereafter. # # A symptom of this is data fetches and stores failing with EINTR when # they really shouldn't. # # Fixes: bc5e3a546d55 ("rxrpc: Use MSG_WAITALL to tell sendmsg() to temporarily ignore signals") # Signed-off-by: David Howells # Reviewed-by: Marc Dionne # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-ld --version # < git log --format=%s --max-count=1 c74386d50fbaf4a54fd3fe560f1abc709c0cff4b # < make -s -j 8 ARCH=powerpc O=/kisskb/build/linus_44x_currituck_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- 44x/currituck_defconfig # make -s -j 8 ARCH=powerpc O=/kisskb/build/linus_44x_currituck_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:204:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/rcu/srcutree.c: In function 'init_srcu_struct_fields': /kisskb/src/kernel/rcu/srcutree.c:140:32: warning: 'levelspread[]' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/rcu/srcutree.c:88:6: note: 'levelspread[]' was declared here /kisskb/src/drivers/base/regmap/regmap.c: In function 'regmap_raw_read': /kisskb/src/drivers/base/regmap/regmap.c:2591:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function '_regmap_raw_write': /kisskb/src/drivers/base/regmap/regmap.c:1852:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:338:21: note: 'pdeo' was declared here /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:248:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:228:19: note: 'i' was declared here /kisskb/src/drivers/usb/core/devio.c: In function 'async_completed': /kisskb/src/drivers/usb/core/devio.c:625:23: warning: 'errno' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/arch/powerpc/boot/dts/currituck.dts:125.28-161.5: Warning (pci_bridge): /plb/pciex@10100000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/currituck.dts:163.28-198.5: Warning (pci_bridge): /plb/pciex@30100000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/currituck.dts:200.28-235.5: Warning (pci_bridge): /plb/pciex@38100000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/currituck.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' Completed OK # rm -rf /kisskb/build/linus_44x_currituck_defconfig_powerpc-gcc4.6 # Build took: 0:01:22.531889