Paul Clements
7fdfd4065c
NBD: allow hung network I/O to be cancelled
...
Allow NBD I/O to be cancelled when a network outage occurs. Previously, I/O
would just hang, and if enough I/O was hung in nbd, the system (at least
user-level) would completely hang until a TCP timeout (default, 15 minutes)
occurred.
The patch introduces a new ioctl NBD_SET_TIMEOUT that allows a transmit
timeout value (in seconds) to be specified. Any network send that exceeds the
timeout will be cancelled and the nbd connection will be shut down. I've
tested with various timeout values and 6 seconds seems to be a good choice for
the timeout. If the NBD_SET_TIMEOUT ioctl is not called, you get the old (I/O
hang) behavior.
Signed-off-by: Paul Clements <paul.clements@steeleye.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-17 08:42:55 -07:00
..
acpi
asm-alpha
cleanup floppy.h
2007-10-17 08:42:55 -07:00
asm-arm
cleanup floppy.h
2007-10-17 08:42:55 -07:00
asm-arm26
softlockup: make asm/irq_regs.h available on every platform
2007-10-17 08:42:47 -07:00
asm-avr32
remove strict ansi check from __u64 in asm/types.h
2007-10-17 08:42:53 -07:00
asm-blackfin
remove strict ansi check from __u64 in asm/types.h
2007-10-17 08:42:53 -07:00
asm-cris
remove strict ansi check from __u64 in asm/types.h
2007-10-17 08:42:53 -07:00
asm-frv
remove strict ansi check from __u64 in asm/types.h
2007-10-17 08:42:53 -07:00
asm-generic
unexport asm/shmparam.h
2007-10-17 08:42:47 -07:00
asm-h8300
remove strict ansi check from __u64 in asm/types.h
2007-10-17 08:42:53 -07:00
asm-ia64
Add vmcoreinfo
2007-10-17 08:42:54 -07:00
asm-m32r
remove strict ansi check from __u64 in asm/types.h
2007-10-17 08:42:53 -07:00
asm-m68k
cleanup floppy.h
2007-10-17 08:42:55 -07:00
asm-m68knommu
kill DECLARE_MUTEX_LOCKED
2007-10-17 08:42:47 -07:00
asm-mips
cleanup floppy.h
2007-10-17 08:42:55 -07:00
asm-parisc
cleanup floppy.h
2007-10-17 08:42:55 -07:00
asm-powerpc
cleanup floppy.h
2007-10-17 08:42:55 -07:00
asm-ppc
cleanup floppy.h
2007-10-17 08:42:55 -07:00
asm-s390
remove strict ansi check from __u64 in asm/types.h
2007-10-17 08:42:53 -07:00
asm-sh
cleanup floppy.h
2007-10-17 08:42:55 -07:00
asm-sh64
remove strict ansi check from __u64 in asm/types.h
2007-10-17 08:42:53 -07:00
asm-sparc
cleanup floppy.h
2007-10-17 08:42:55 -07:00
asm-sparc64
cleanup floppy.h
2007-10-17 08:42:55 -07:00
asm-um
uml: style fixes in FP code
2007-10-16 09:43:07 -07:00
asm-v850
remove strict ansi check from __u64 in asm/types.h
2007-10-17 08:42:53 -07:00
asm-x86
cleanup floppy.h
2007-10-17 08:42:55 -07:00
asm-xtensa
remove strict ansi check from __u64 in asm/types.h
2007-10-17 08:42:53 -07:00
crypto
keys
linux
NBD: allow hung network I/O to be cancelled
2007-10-17 08:42:55 -07:00
math-emu
media
mtd
net
pcmcia
pcmcia: use DMA_MASK_NONE for the default for all pcmcia devices
2007-10-16 09:42:50 -07:00
rdma
rxrpc
scsi
do not export /usr/include/scsi in make headers_install
2007-10-17 08:42:52 -07:00
sound
[ALSA] version 1.0.15
2007-10-16 16:57:46 +02:00
video
pm2fb: hardware cursor support for the Permedia2
2007-10-16 09:43:18 -07:00
xen
Kbuild
do not export /usr/include/scsi in make headers_install
2007-10-17 08:42:52 -07:00