[LU-4799] Warning message in ll_dirty_page_discard_warn should not be rate limited Created: 21/Mar/14  Updated: 20/May/14  Resolved: 04/Apr/14

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.6.0
Fix Version/s: Lustre 2.6.0, Lustre 2.5.2

Type: Improvement Priority: Minor
Reporter: Ryan Haasken Assignee: WC Triage
Resolution: Fixed Votes: 0
Labels: patch

Severity: 3
Rank (Obsolete): 13204

 Description   

There is a warning message printed from ll_dirty_page_discard_warn(), meant to flag potentially corrupt files on client eviction, e.g.:

2014-01-03T06:50:10.880132-06:00 c3-0c2s7n0 Lustre: 5121:0:(llite_lib.c:2507:ll_dirty_page_discard_warn()) snx11029: dirty page discard: 10.10.100.3@o2ib6000:10.10.100.4@o2ib6000:/snx11029/fid: [0x215827c4c:0xca43:0x0]//filename may get corrupted (rc -108)
2014-01-03T06:50:10.905666-06:00 c3-0c2s7n0 Lustre: 5121:0:(llite_lib.c:2507:ll_dirty_page_discard_warn()) Skipped 1 previous similar message

This message should not be rate limited; the point is to identify data files that might have missing data as a result of client eviction. With the rate limiting, some suspect files won't be explicitly flagged.



 Comments   
Comment by Ryan Haasken [ 21/Mar/14 ]

Uploaded a patch here: http://review.whamcloud.com/#/c/9752/

Comment by Oleg Drokin [ 21/Mar/14 ]

Well, the thing is we definitely need to rate-limit this, but be more smart about it.
Multiple pages from teh same file warnings could be safely merged and rate-limited.
It's all the different files that we should print about for sure.

Comment by Ryan Haasken [ 21/Mar/14 ]

Oleg, vvp_vmpage_error() handles limiting dirty page discard warnings to one message per file. Isn't that right?

The patch worked correctly in my testing, printing only one message per file.

Comment by Nathaniel Clark [ 04/Apr/14 ]

Merged to master aacc286fe0575d455794121264a612c29ffb7740

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