Re: Feature Request

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Stefan Hübner
Date: Tuesday, February 9, 2010 - 7:19 am

Am 09.02.2010 13:28, schrieb Michael Tokarev:
Hi Mjt,

I hoped so - great it is implemented like that.

Well, then all that's needed is the check at assembly/creation time:
- (is the drive an ATA-drive) && (does it support SCT ERC)
-> and if it does, set some reasonable timeouts. (like the 7s it is with
enterprise class drives for reading.  For writing I would suggest 14s,
bearing in mind that too quick reallocation results in the spare sectors
running out quickly.)

The writing back (I guess this is done with a reasonable amount of
retries) does not make sense if the drive is still in its error recovery
procedure and does not react to any commands until it is done.

P.S.: I have already implemented the checks and setup, but in userspace
using SG_IO.

/st0ff

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Feature Request, Stefan *St0fF* Huebner, (Tue Feb 9, 1:43 am)
Re: Feature Request, Michael Tokarev, (Tue Feb 9, 5:28 am)
Re: Feature Request, Stefan Hübner, (Tue Feb 9, 7:19 am)