Re: [PATCH] Allow zero paths for multipath priority groups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alasdair G Kergon wrote:
> On Wed, Jul 08, 2009 at 02:15:39PM +0530, Nikanth Karthikesan wrote:
>> From: Hannes Reinecke <hare@xxxxxxx>
>> Subject: Allow zero paths for multipath priority groups
>>
>> For correct handling of the all-paths-down scenario we have to
>> allow zero paths as a valid argument for priority groups.
>  
> That seems counter-intuitive.
> Can you be more specific, with example scenarios?
> 
Currently we're not allowing the last path to be removed
from a multipath target. With earlier kernel revisions
this wasn't a problem as dev_loss_tmo didn't work correctly
and so in effect no devices were ever removed from the system.

However, with newer kernels dev_loss_tmo works correctly, so
any dead path will be removed from the system.
So when the last path goes down, we're having a stale reference
to an sdev which for all intents and purposes should have been
removed.

And even worse, when this path comes back the SCSI subsystem
isn't even able to assign it to the old device number, as this
is already taken.

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		      zSeries & Storage
hare@xxxxxxx			      +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux