Whamcloud - gitweb
LU-9551 utils: add l_tunedisk to fix disk tunings 64/31464/6
authorNathaniel Clark <nathaniel.l.clark@intel.com>
Wed, 28 Feb 2018 22:18:09 +0000 (17:18 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 9 Apr 2018 19:45:28 +0000 (19:45 +0000)
commit892280742a2b6347df1464379b3ed223b2961ed4
tree97085842522966eb60d809df874911b34e8f046b
parent01fb4edfd7bde7e495e767c5321235565cfadaee
LU-9551 utils: add l_tunedisk to fix disk tunings

This adds l_tunedisk utility to utilize osd_tune_lustre call for
mount_utils.h.  This can be called from udev.
This adds a udev rule to fix disk tunings.
This in some ways duplicates LU-9132, which sets this value at mount
time, but if a multipath component is removed then re-added, the
multipath's max_sectors_kb will not propgate to the newly added device
and this now will cause an error for I/Os that would violate this.

Test-Parameters: trivial
Signed-off-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Change-Id: I35330ebe75552d71b71212f9fae00cfdcc028ea1
Reviewed-on: https://review.whamcloud.com/31464
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
lustre/conf/99-lustre.rules
lustre/utils/.gitignore
lustre/utils/Makefile.am
lustre/utils/l_tunedisk.c [new file with mode: 0644]