Skip to contentSkip to conversation

Align cache_clean work

PATCH In review Anton Blanchard 2 participants 2 messages Apr 1, 2009

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Align cache_clean work

Align cache_clean work.

---

net/sunrpc/cache.c +1 -1
Index: linux-2.6/net/sunrpc/cache.c
===================================================================
@@ -488,7 +488,7 @@
 {
 	int delay = 5;
 	if (cache_clean() == -1)
-		delay = 30*HZ;
+		delay = round_jiffies_relative(30*HZ);
 
 	if (list_empty(&cache_list))
 		delay = 0;
#1 lore raw
Quoted 1 line

Subject: [PATCH] Align cache_clean work

better titles, please. Of the form

subsystem-identifier: what-i-did-to-it

Quoted 11 lines · On Wed, 1 Apr 2009 21:45:18 +1100 Anton Blanchard <[email protected]> wrote:

Align cache_clean work.

---

Index: linux-2.6/net/sunrpc/cache.c
===================================================================

net/sunrpc/cache.c line 494

Quoted 8 lines
net/sunrpc/cache.c +1 -1
@@ -488,7 +488,7 @@
 {
 	int delay = 5;
 	if (cache_clean() == -1)
-		delay = 30*HZ;
+		delay = round_jiffies_relative(30*HZ);
 
 	if (list_empty(&cache_list))
 		delay = 0;

the people who will merge this patch (nfs/net) will be wondering why they were asked to do so.

iow: better changelogs please ;)