[LU-16577] Provide vvp_set_folio_dirty_batched() and wrappers for page users Created: 18/Feb/23  Updated: 18/Feb/23

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Shaun Tancheff Assignee: Shaun Tancheff
Resolution: Unresolved Votes: 0
Labels: None

Rank (Obsolete): 9223372036854775807

 Description   

In LU-16433 there is discussion about if and how we can recapture the lost performance from being unable to use Patrick's vvp_set_pagevec_dirty() since losing access to account_page_dirtied().

This is an attempt to provide a replacement in vvp_folio_account_dirtied() with the caveat that some memcg and writeback ratelimit calculations will be wrong:

here:
-> __this_cpu_add(bdp_ratelimits, nr); <- no access
and here:
-> mem_cgroup_track_foreign_dirty(folio, wb); <- no access



 Comments   
Comment by Gerrit Updater [ 18/Feb/23 ]

"Shaun Tancheff <shaun.tancheff@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50064
Subject: LU-16577 llite: Provide a vvp_set_folio_dirty_batched
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: af53983e04aeff5a5092b951262ae13dbdd5acb4

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