Whamcloud - gitweb
LU-8066 sysfs: migrate max_pages_per_rpc to sysfs tree 65/56665/2
authorJames Simmons <jsimmons@infradead.org>
Fri, 11 Oct 2024 14:24:00 +0000 (08:24 -0600)
committerOleg Drokin <green@whamcloud.com>
Mon, 16 Dec 2024 08:15:14 +0000 (08:15 +0000)
commita25c846ebf39ef3b316c80aa1ec75224fdb9df39
treef31f2229f8c86bbe7cf4ca1a2a55650be92596e6
parentcad59b9b72fc72182574f4ce782e12d1e98f84fd
LU-8066 sysfs: migrate max_pages_per_rpc to sysfs tree

Both the osc and mdc layer place max_pages_per_rpc in the proc
tree. We can move it to the sysfs tree. This is a simple sysfs
file so no root only issues for this tunable.

Change-Id: Ib4c9bd5e3b6a56c489149779208a1461692538ac
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56665
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lprocfs_status.h
lustre/mdc/lproc_mdc.c
lustre/obdclass/lprocfs_status.c
lustre/osc/lproc_osc.c