<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 06/25/2016 02:16 AM, Ritesh Raj Sarraf wrote:<br>
    <span style="white-space: pre;">> On Thu, 2016-06-23 at 16:50 -0600, Andrew Patterson wrote:
>> +# Save boot setting for aio-max-nr.
>> +BOOT_AIO_MAX_NR=$(cat /proc/sys/fs/aio-max-nr)
>> +
>>  if [ -f /etc/multipath-tools-boot.conf ]; then
>>      . /etc/multipath-tools-boot.conf
>>  else
>>      MULTIPATH_TOOLS_MODULES="dm-mod dm-multipath"
>> +    MULTIPATH_TOOLS_MIN_AIO_MAX_NR=$BOOT_AIO_MAX_NR
>>  fi
>>  
>
> I'd let the user define the AIO_MAX value explicitly in /etc/default/multipath-
> tools. And use the sysctl/procfs option as a fallback.
>
> What do you say ?
>
></span><br>
    <br>
    That was where I went initially, but I thought that means that the<br>
    user now needs to configure aio-max-nr in two places, once in<br>
    sysctl.conf and once in /etc/default/multipath-tools (for when
    running<br>
    multipath tools by hand or in scripts). I thought this solution<br>
    resulted in less overall system configuration.  The<br>
    /etc/default/multipath-tools is more explicit, so it does have<br>
    advantages too.<br>
    <br>
    Andrew<br>
    <br>
    -- <br>
    Andrew Patterson<br>
    Hewlett-Packard Enterprise<br>
    <br>
  </body>
</html>