summaryrefslogtreecommitdiff
path: root/fs/fcntl.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2008-12-05 14:49:18 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2008-12-05 14:49:18 -0800
commitf2f1fa78a155524b849edf359e42a3001ea652c0 (patch)
tree8d38fc76e48fc219e393ee57ee5f76843b735258 /fs/fcntl.c
parent24920a79a27dd28e67088bbfcf36746d15587f4d (diff)
downloadlinux-3.10-f2f1fa78a155524b849edf359e42a3001ea652c0.tar.gz
linux-3.10-f2f1fa78a155524b849edf359e42a3001ea652c0.tar.bz2
linux-3.10-f2f1fa78a155524b849edf359e42a3001ea652c0.zip
Enforce a minimum SG_IO timeout
There's no point in having too short SG_IO timeouts, since if the command does end up timing out, we'll end up through the reset sequence that is several seconds long in order to abort the command that timed out. As a result, shorter timeouts than a few seconds simply do not make sense, as the recovery would be longer than the timeout itself. Add a BLK_MIN_SG_TIMEOUT to match the existign BLK_DEFAULT_SG_TIMEOUT. Suggested-by: Alan Cox <alan@lxorguk.ukuu.org.uk> Acked-by: Tejun Heo <tj@kernel.org> Acked-by: Jens Axboe <jens.axboe@oracle.com> Cc: Jeff Garzik <jeff@garzik.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/fcntl.c')
0 files changed, 0 insertions, 0 deletions