[LU-16697] Lustre should set appropriate BDI_CAP_* and s_iflags for writeback and cgroup wb Created: 01/Apr/23  Updated: 28/Jul/23  Resolved: 09/Jul/23

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

Type: Bug Priority: Minor
Reporter: Shaun Tancheff Assignee: Shaun Tancheff
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-16680 add lowmem sync feature Open
is related to LU-16696 Lustre memcg oom workaround for unpat... Resolved
is related to LU-16954 mount failed: File exists(cannot crea... Resolved
is related to LU-16713 Writeback and commit pages under memo... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Lustre should set appropriate BDI_CAP_* and s_iflags for writeback and cgroup wb



 Comments   
Comment by Gerrit Updater [ 01/Apr/23 ]

"Shaun Tancheff <shaun.tancheff@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50497
Subject: LU-16697 llite: Set BDI_CAP_* flags for lustre
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 33896b62aa39e271cdcd4fdc4adb84a3849bdca1

Comment by Patrick Farrell [ 01/Apr/23 ]

Shaun,

Check out LU-16680.  This solves the problem of Lustre working well with cgroups and general memory pressure without subjecting us to the kernel writeback limits, which were a huge problem in the past:

https://review.whamcloud.com/c/fs/lustre-release/+/50460

Comment by Andreas Dilger [ 01/Apr/23 ]

Patrick, do you have a reference on previous problems with the kernel writeback limits? I'm wondering if they show tests and/or monitors we could use to usefully test these new patches?

Comment by Gerrit Updater [ 08/Jul/23 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50497/
Subject: LU-16697 llite: Set BDI_CAP_* flags for lustre
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: f5a75ea44db32ac27ada327b4752c3bc611cf9df

Comment by Peter Jones [ 09/Jul/23 ]

Landed for 2.16

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