[dm-devel] [PATCH 3/4] multipath-tools: replace TUR with DEFAULT_CHECKER in hwtable

Xose Vazquez Perez xose.vazquez at gmail.com
Thu Jun 23 14:13:02 UTC 2016


On 06/23/2016 03:49 PM, Hannes Reinecke wrote:

> On 06/23/2016 03:42 PM, Xose Vazquez Perez wrote:
>> DEFAULT_CHECKER already is TUR
>> ---
>>  libmultipath/hwtable.c | 78 +++++++++++++++++++++++++-------------------------
>>  1 file changed, 39 insertions(+), 39 deletions(-)
>>
>> diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
>> index fb334ab..6e73e67 100644
>> --- a/libmultipath/hwtable.c
>> +++ b/libmultipath/hwtable.c
>> @@ -34,7 +34,7 @@ static struct hwentry default_hw[] = {
>> -		.checker_name  = TUR,
>> +		.checker_name  = DEFAULT_CHECKER,
>>  		.prio_name     = PRIO_ALUA,
>>  		.pgfailback    = 30,
>>  		.minio         = 128,
>>
> Why do you need to set it to 'DEFAULT_CHECKER'?
> It's the default, right?
> So it should be sufficient to just delete those lines...

I was being wordy. As "checker_name  = DEFAULT_CHECKER,"
was being used already by 3 devices. And I followed what
has been previously done.

Christophe?




More information about the dm-devel mailing list