Re: [PATCH] scsi-misc-2.5 user per-device spare command

Christoph Hellwig
2003-04-25T16:44:23Z

On Fri, Apr 25, 2003 at 09:50:55AM -0700, Patrick Mansfield wrote:
> On Fri, Apr 25, 2003 at 10:12:51AM -0400, Luben Tuikov wrote:
>
> > 1. Use the cache *first*, and if it's depleted, *then*
> > use the spare command struct.
>
> Then we would allocate and almost never use the spare. This is a bit
> different as compared to the per-host spare, when we shoulid use the
> spare only as a last resort.

Again, it's no more a spare if you use it first, it's a cache then
and will always be gone when you need it.