[PATCH] cdrom: set default timeout to 7 seconds
commit2e11c207b029cfaf57159cabac4b002204445258
authorJens Axboe <jens.axboe@oracle.com>
Wed, 3 Jan 2007 07:10:35 +0000 (3 08:10 +0100)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 4 Jan 2007 01:32:54 +0000 (3 17:32 -0800)
tree4d22832e749ebbf2c49b410a5762472b0386cda6
parent7523c4dd9923cab748dad9b79d0165e118e3d03b
[PATCH] cdrom: set default timeout to 7 seconds

It's a known fact that Windows times out commands after 7 seconds, so
drives generally try and respond if they can before that happens.  We
default to 5 seconds, which sometimes is a bit too short.

Jeremy Higdon reported here:

http://lkml.org/lkml/2007/1/1/145

that his drive takes longer than 5 seconds for a "read track
information" command, later confirming that it is about 6.7 seconds.

So just do the sane thing and change the default command timeout to 7
seconds to avoid other surprises.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/cdrom/cdrom.c