[linux-yocto] [PATCH] dmm.cfg: Change dm-multipath from built-in kernel module to LKM

Changqing Li changqing.li at windriver.com
Wed Aug 22 18:50:56 PDT 2018


It is for:

kernel version:        yocto-kernel-cahe:
linux-yocto-dev       master
linux-yocto-4.12      yocto-4.12


On 08/23/2018 09:49 AM, changqing.li at windriver.com wrote:
> From: Changqing Li <changqing.li at windriver.com>
>
> It is better to use LKM for dm-multipath.
> 1. For multipathd service, it will modprobe dm-multipath before
>     start the daemon.
> 2. In package multipath, there is a script mpathconf which can
>     config or check configuration of mutltipath, which will use
>     lsmod to check if dm_multipath is loaded.
>
> Signed-off-by: Changqing Li <changqing.li at windriver.com>
> ---
>   cgl/cfg/dmm.cfg | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/cgl/cfg/dmm.cfg b/cgl/cfg/dmm.cfg
> index e8645a2..3613fcc 100644
> --- a/cgl/cfg/dmm.cfg
> +++ b/cgl/cfg/dmm.cfg
> @@ -1 +1 @@
> -CONFIG_DM_MULTIPATH=y
> +CONFIG_DM_MULTIPATH=m

-- 
BRs

Sandy(Li Changqing)
+861084778653



More information about the linux-yocto mailing list