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

Bruce Ashfield bruce.ashfield at windriver.com
Thu Aug 23 09:48:08 PDT 2018


On 08/22/2018 09:50 PM, Changqing Li wrote:
> It is for:
> 
> kernel version:        yocto-kernel-cahe:
> linux-yocto-dev       master
> linux-yocto-4.12      yocto-4.12

merged.

Bruce

> 
> 
> 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
> 



More information about the linux-yocto mailing list