Bug#827322: multipath-tools: Not all paths discovered when large number of paths are present

Ritesh Raj Sarraf rrs at debian.org
Sat Jun 25 08:16:59 UTC 2016


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20160625/a95b3f6e/attachment.sig>


More information about the pkg-lvm-maintainers mailing list