[LU-14305] add persistent tuning for mb_c3_threshold Created: 07/Jan/21  Updated: 01/Dec/23  Resolved: 26/Feb/21

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.15.0

Type: Improvement Priority: Minor
Reporter: Andreas Dilger Assignee: Andreas Dilger
Resolution: Fixed Votes: 0
Labels: ldiskfs

Issue Links:
Duplicate
Related
is related to LU-14438 backport ldiskfs mballoc patches Open
is related to LU-12103 Improve block allocation for large pa... Resolved
Rank (Obsolete): 9223372036854775807

 Description   

Allow the ldiskfs mb_c[123]_threshold parameters to be set persistently. Currently, they are only in /sys/fs/ldiskfs/<dev>/mb_c[123]_threshold and are not configurable via "lctl set_param", sysctl, or other (known to me) tuning mechanism.

While the upstream ext4 developers seem to frown upon mount options, this does provide a mechanism (via /etc/fstab and/or tune2fs -E mount_opts=<opts>) for setting filesystems parameters permanently on a per-filesystem basis.



 Comments   
Comment by Gerrit Updater [ 11/Jan/21 ]

Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/41193
Subject: LU-14305 ldiskfs: add parameters for mb_c123_threshold
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 5060639ebf5d3d691192dbad10a5584554e46f5e

Comment by Gerrit Updater [ 26/Feb/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/41193/
Subject: LU-14305 ldiskfs: add parameters for mb_c123_threshold
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: c2fd5297b46c4973aeda4d4d02cbc7ca2faa0d50

Comment by Peter Jones [ 26/Feb/21 ]

Landed for 2.15

Comment by Gerrit Updater [ 18/Oct/23 ]

"Etienne AUJAMES <eaujames@ddn.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/52744
Subject: LU-14305 ldiskfs: add parameters for mb_c123_threshold
Project: fs/lustre-release
Branch: b2_12
Current Patch Set: 1
Commit: cbb6baaf60d7cb6022933f609f93e8806048a054

Generated at Sat Feb 10 03:08:36 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.