Details
-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
Single Node Setup, Scientific Linux (2.6.32-431-17.1.el6.x86_x64-Lustre), 2.7.58-22-g1d40519
-
3
-
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);
+ }