]> err.no Git - linux-2.6/commit
[SCSI] Fix DVD burning issues.
authorJames Bottomley <James.Bottomley@steeleye.com>
Tue, 25 Apr 2006 21:48:30 +0000 (16:48 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Thu, 27 Apr 2006 18:58:40 +0000 (13:58 -0500)
commitf3e93f735321ea75108b41cb654c16f92d3f264c
treef3b2f0b4e83db4c564ee0411a36dda881a1af34d
parent4a6fae1d9c0d879d5d46a2a4962220dbf53ac72b
[SCSI] Fix DVD burning issues.

Some pioneer DVDs are apparently returning odd "not ready" status
codes that the mid-layer doesn't recognise and so passes back to the
user as errors.

This patch overhauls our not-ready handling and adds transparent retries for:

format in progress
rebuild in progress
recalculation in progress
operation in progress
Long write in progress
self test in progress

The Pioneer was actually returning "long write in progress"

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_lib.c