[dm-devel] multipath-tools: add INSPUR/MCS to hardware table

Tom Geng(耿芳忠) gengfangzhong at inspur.com
Mon Jan 22 10:55:17 UTC 2018


Hi, everybody,

I added a new device support, the history and code diff is as below, will
the maintainers help to review and submit? 

Thank you a lot.

 

 

$ git log

commit f7bec5ee939ffff079cc01f8a09e7e51e4b26365 (HEAD -> master, develop)

Author: Tom Geng <gengfangzhong at inspur.com>

Date:   Fri Jan 19 10:25:11 2018 +0800

 

        multipath-tools: add new device, product name is INSPUR
AS5300/AS5500 G2.

 

        It's dual-controller, Active-Active mode, and SPC-3 ALUA feature

        support.

 

        Signed-off-by: Tom Geng <gengfangzhong at inspur.com>

 

commit 07e7bd579ea22e3de0f6481643e9b0809cd76210 (origin/master, origin/HEAD)

Author: Benjamin Marzinski <bmarzins at redhat.com>

Date:   Wed Dec 13 12:08:07 2017 -0600

 

    libmultipath: don't update path queueing on reload

 

    With the fix to the features handling code, the multipath device should

    already be reloaded with the correct value for queue_if_no_path, so

    there's no need to go reset it immediately afterwards.

 

    Cc: Martin Wilck <mwilck at suse.com>

    Signed-off-by: Benjamin Marzinski <bmarzins at redhat.com>

 

commit 7e7441e9f0127e0bcf23771955ab829f489641fe

Author: Benjamin Marzinski <bmarzins at redhat.com>

Date:   Thu Dec 7 12:49:06 2017 -0600

 

    multipathd: marginal path code fixes

 

 

 

$ git diff f7bec5e..07e7bd5

diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c

index c8acf3af..448effe3 100644

--- a/libmultipath/hwtable.c

+++ b/libmultipath/hwtable.c

@@ -1181,21 +1181,6 @@ static struct hwentry default_hw[] = {

                .pgpolicy      = MULTIBUS,

                .no_path_retry = 30,

        },

-       /*

-        * INSPUR

-        *

-        * Maintainer: Tom Geng

-        * Mail: gengfangzhong at inspur.com

-        */

-       {

-               /* AS5300/AS5500 G2 */

-               .vendor        = "INSPUR",

-               .product       = "MCS",

-               .pgpolicy      = GROUP_BY_PRIO,

-               .selector      = "round-robin 0",

-               .pgfailback    = -FAILBACK_IMMEDIATE,

-               .prio_name     = PRIO_ALUA,

-       },

        /*

         * EOL

         */

 

 

Tom Geng

2018.01.22

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20180122/6f2418ee/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4108 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20180122/6f2418ee/attachment.p7s>


More information about the dm-devel mailing list