Whamcloud - gitweb
LU-11736 utils: don't set max_sectors_kb on MDT/MGT 96/33796/2
authorAndreas Dilger <adilger@whamcloud.com>
Thu, 6 Dec 2018 00:15:05 +0000 (17:15 -0700)
committerOleg Drokin <green@whamcloud.com>
Fri, 4 Jan 2019 04:49:04 +0000 (04:49 +0000)
commit2f8d7b4679de3fa467040aa61733f262714e39c9
treee2b54aab811c96134458e5a88b822b8533b38566
parent0b9fb772e68db7cbf0c8a755092c1d8b5de6b83d
LU-11736 utils: don't set max_sectors_kb on MDT/MGT

The max_sectors_kb tunable should not be applied to MDT and MGT
devices. This tuning is needed for efficiency of large IOs for
spinning disks, but is not needed for SSDs or regular IO. It can
cause problems with DM Multipath configurations for minimal
benefits, so should be limited to OST devices.

This only applies to ldiskfs backend filesystems, no such tuning
is currently done for any ZFS devices.

Test-Parameters: trivial testlist=conf-sanity
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I496603da13aae042f63cc37c0dea221a393ebbe5
Reviewed-on: https://review.whamcloud.com/33796
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Nathaniel Clark <nclark@whamcloud.com>
Reviewed-by: Wang Shilong <wshilong@ddn.com>
Reviewed-by: Gu Zheng <gzheng@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/utils/libmount_utils_ldiskfs.c