Whamcloud - gitweb
LU-8066 sysfs: fixup max_dirty_mb 57/57457/2
authorJames Simmons <jsimmons@infradead.org>
Thu, 12 Dec 2024 15:16:09 +0000 (08:16 -0700)
committerOleg Drokin <green@whamcloud.com>
Wed, 22 Jan 2025 18:43:26 +0000 (18:43 +0000)
commit88438adf02b2eea6f305c20c239df48de10a4bfe
tree2c516a01c6ea5a150121909f1f68f29fd76b992e
parenta1a6e9f43b60baf422dbe3faa65cecd71d4eba4d
LU-8066 sysfs: fixup max_dirty_mb

Migrate the mdc version of max_dirty_mb to sysfs since its a
simple value visible to non-root users. For the osc version
update the function with sysfs_memparse().

Change-Id: I1329e7a0848101a1754836832e5c3b76d4db76cc
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/57457
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mdc/lproc_mdc.c
lustre/osc/lproc_osc.c