Re: [PATCH] Format Unit can take many hours

Bob Tracy
2004-05-11T16:31:26Z

Ricky Beam wrote:
> On Tue, 11 May 2004, Kurt Garloff wrote:
> >the timeout for FORMAT_UNIT should be much longer; I've seen 8hrs
> >already (75Gig). I've increased the timeout from 2hrs to 12hrs.
>
> If you execute a FORMAT_UNIT properly, the timeout is irrelevant. Set the
> IMMED bit so the command returns as soon as the drive begins processing it.
> Send TEST_UNIT_READY to check the progress. I'll have to consult the
> spec, but I think support for Immed is required.

Moreover, it simply "feels" wrong to define a constant for something
that isn't... The quick fix of increasing the timeout doesn't address
the underlying issue of how long a format should take, and as Ricky
implies, that's probably more the concern of the application rather
than the driver.

--
-----------------------------------------------------------------------
Bob Tracy WTO + WIPO = DMCA? http://www.anti-dmca.org
rct@frus.com
-----------------------------------------------------------------------