Skip to contentSkip to conversation

sunrpc: align cache_clean work's timer

PATCH Applied [email protected] 3 participants 3 messages Jun 10, 2009 – Jun 11, 2009 1 message not in the archive

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

PATCH 1/1 sunrpc: align cache_clean work's timer

From: Anton Blanchard <[email protected]>

Align cache_clean work.

Cc Neil Brown <[email protected]>
Cc Trond Myklebust <[email protected]>
Cc "David S. Miller" <[email protected]>

---

 net/sunrpc/cache.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/sunrpc/cache.c renamed from net/sunrpc/cache.c~sunrpc-align-cache_clean-works-timer +1 -1
diff -puN net/sunrpc/cache.c~sunrpc-align-cache_clean-works-timer net/sunrpc/cache.c
@@ -488,7 +488,7 @@ static void do_cache_clean(struct work_s
 {
 	int delay = 5;
 	if (cache_clean() == -1)
-		delay = 30*HZ;
+		delay = round_jiffies_relative(30*HZ);
 
 	if (list_empty(&cache_list))
 		delay = 0;

_

A message that is not in the archive (sent off-list or not yet received): 200906101952.n5AJqLZb006065-AB4EexQrvXRQetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org

#3 lore raw
Quoted 7 lines · David Miller

From: [email protected]
Date: Wed, 10 Jun 2009 12:52:21 -0700

Quoted 4 lines

From: Anton Blanchard <[email protected]>

Align cache_clean work.

Quoted 7 lines
Quoted 5 lines
Cc Neil Brown <[email protected]>
Cc Trond Myklebust <[email protected]>
Cc "David S. Miller" <[email protected]>

Thanks, applied for 2.6.31.

--b.