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>
Showing
- lustre/conf/99-lustre.rules 4 additions, 0 deletionslustre/conf/99-lustre.rules
- lustre/utils/.gitignore 1 addition, 0 deletionslustre/utils/.gitignore
- lustre/utils/Makefile.am 6 additions, 1 deletionlustre/utils/Makefile.am
- lustre/utils/l_tunedisk.c 81 additions, 0 deletionslustre/utils/l_tunedisk.c
lustre/utils/l_tunedisk.c
0 → 100644
Please register or sign in to comment