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 ?


-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to