Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
3
-
9223372036854775807
Description
Sometimes user doesn't want the max_sectors_kb being overwritten on MDT/OST mount, we should provide a way for user to have more control over this important parameter, a environment variable MOUNT_LUSTRE_MAX_SECTORS_KB is introduced for this purpose:
- When MOUNT_LUSTRE_MAX_SECTORS_KB isn't set, change the max_sectors_kb to max_hw_sectors_kb;
- When MOUNT_LUSTRE_MAX_SECTORS_KB is set to 0 or a non-decimal value, leave the old max_sectors_kb setting untouched;
- When MOUNT_LUSTRE_MAX_SECTORS_KB is set to a valid decimal value, change the max_sectors_kb to this value;