Whamcloud - gitweb
LU-9551 utils: add l_tunedisk to fix disk tunings 83/32583/2
authorNathaniel Clark <nathaniel.l.clark@intel.com>
Wed, 28 Feb 2018 22:18:09 +0000 (17:18 -0500)
committerJohn L. Hammond <jhammond@whamcloud.com>
Wed, 1 Aug 2018 17:11:44 +0000 (17:11 +0000)
commit703d418908fa32f60decc3bd535e77784d2721c6
tree39cf2e7762d3752d7b029fbb0f5f133e9cec19eb
parenta41b3782e4ffe961d7d0173845753a1ab23b5463
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.

Lustre-change: https://review.whamcloud.com/31464
Lustre-commit: 892280742a2b6347df1464379b3ed223b2961ed4

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