Whamcloud - gitweb
LU-9551 utils: add l_tunedisk to fix disk tunings 51/31951/2
authorNathaniel Clark <nathaniel.l.clark@intel.com>
Wed, 28 Feb 2018 22:18:09 +0000 (17:18 -0500)
committerJohn L. Hammond <john.hammond@intel.com>
Thu, 12 Apr 2018 16:35:42 +0000 (16:35 +0000)
commit3281d5d57cec9d6deaa50cb4d9ec9509e3d03507
tree6e17cd502a081fa9da450bfb02e69ac3bc5d79e7
parent89c5292ce9899f079ca9a2994bc220f04c188c58
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
Lustre-change: https://review.whamcloud.com/31464
Lustre-commit: 892280742a2b6347df1464379b3ed223b2961ed4

Signed-off-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Change-Id: I35330ebe75552d71b71212f9fae00cfdcc028ea1
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Signed-off-by: Minh Diep <minh.diep@intel.com>
Reviewed-on: https://review.whamcloud.com/31951
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
lustre/conf/99-lustre.rules
lustre/utils/.gitignore
lustre/utils/Makefile.am
lustre/utils/l_tunedisk.c [new file with mode: 0644]