Fix issue with iostat not showing the full device name
The name of a device displayed by iostat may be truncated when it is
long (more than 72 characters).
Increase the MAX_NAME_LEN to 128.
Example with docker containers:
> iostat -N
Linux 3.10.0-229.el7.x86_64 (rhel70) 28/08/15 _x86_64_
(8 CPU)
avg-cpu: %user %nice %system %iowait %steal %idle
0.02 0.00 0.01 0.01 0.05 99.91
Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn
vda 0.42 4.53 8.60 473380 899091
rhel-root 0.35 4.29 8.53 448487 891062
rhel-swap 0.02 0.02 0.06 2360 5956
docker-253:0-
17798675-pool 0.01 0.11 0.01 11487
888
docker-253:0-
17798675-
985108281c9f035f9301fb9e80c07865e84c4e5565d4dd65a
0.01 0.08 0.00 8645 4
> dmsetup info -c
Name
Maj Min Stat Open Targ Event UUID
docker-253:0-
17798675-pool
253 2 L--w 1 1 0
docker-253:0-
17798675-
985108281c9f035f9301fb9e80c07865e84c4e5565d4dd65a93a21cfac77eccd
253 3 L--w 1 1 0
rhel-swap
253 1 L--w 2 1 0
LVM-BcxsLXSCKtor2qgE7tHCdf9coPGGAvWYYhAPhuPG9Pvuu7b2ABFxlObdBTVtCf3x
rhel-root
253 0 L--w 1 1 0
LVM-BcxsLXSCKtor2qgE7tHCdf9coPGGAvWYvCpyursTrgSff1q23gtg4m7EVpmeQVvl
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>