[LU-2946] vvp_write_{pending|complete} should be inode based Created: 11/Mar/13  Updated: 11/Mar/13

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

Type: Improvement Priority: Minor
Reporter: Jinshan Xiong (Inactive) Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: None

Rank (Obsolete): 7068

 Description   

Now these functions are page based, this is not good and if lots of pages are dirtied at the same time, only the first dirty page is doing real work and others just repeat useless work. Furthermore I've already seen huge contention on lock lli_lock so we should revise it to be inode based.

One solution is to invent an atomic count to remember how many dirty pages there are for the inode, and if this count is dropped to zero we'll send done writing RPC to MDS.


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