[LU-7029] error kernel: format at osc_page.c:600:osc_lru_del doesn't end in newline Created: 21/Aug/15  Updated: 24/Aug/15  Resolved: 21/Aug/15

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

Type: Bug Priority: Critical
Reporter: Ashish Purkar (Inactive) Assignee: WC Triage
Resolution: Fixed Votes: 0
Labels: patch
Environment:

Single Node Setup, Scientific Linux (2.6.32-431-17.1.el6.x86_x64-Lustre), 2.7.58-22-g1d40519


Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

The flurry of messages seen in dmesg -
Aug 21 05:06:34 maximus kernel: format at osc_page.c:600:osc_lru_del doesn't end in newline
Aug 21 05:06:34 maximus kernel: format at osc_page.c:600:osc_lru_del doesn't end in newline

Culprit code:

@@ -587,8 +596,10 @@ static void osc_lru_del(struct client_obd *cli, struct osc_
                /* this is a great place to release more LRU pages if
                 * this osc occupies too many LRU pages and kernel is
                 * stealing one of them. */
-               if (!memory_pressure_get())
+               if (osc_cache_too_much(cli)) {
+                       CDEBUG(D_CACHE, "%s: queue LRU workn", cli_name(cli));
                        (void)ptlrpcd_queue_work(cli->cl_lru_work);
+               }


 Comments   
Comment by Gerrit Updater [ 21/Aug/15 ]

Ashish Purkar (ashish.purkar@seagate.com) uploaded a new patch: http://review.whamcloud.com/16046
Subject: LU-7029 osc: fix debug log message formatting
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 56956ac496ad6b769464f1ded9e5bb6554dd3d07

Comment by Gerrit Updater [ 21/Aug/15 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/16046/
Subject: LU-7029 osc: fix debug log message formatting
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 336589a1dbd6923c26233222407bea60f57dd0e6

Comment by Joseph Gmitter (Inactive) [ 24/Aug/15 ]

Patch has landed for 2.8.

Generated at Sat Feb 10 02:05:23 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.