* [patch 1/1] sunrpc: align cache_clean work's timer
@ 2009-06-10 19:52 akpm
[not found] ` <200906101952.n5AJqLZb006065-AB4EexQrvXRQetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: akpm @ 2009-06-10 19:52 UTC (permalink / raw)
To: trond.myklebust; +Cc: linux-nfs, akpm, anton, davem, neilb
From: Anton Blanchard <anton@samba.org>
Align cache_clean work.
Signed-off-by: Anton Blanchard <anton@samba.org>
Cc: Neil Brown <neilb@suse.de>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
net/sunrpc/cache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN net/sunrpc/cache.c~sunrpc-align-cache_clean-works-timer net/sunrpc/cache.c
--- a/net/sunrpc/cache.c~sunrpc-align-cache_clean-works-timer
+++ a/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;
_
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [patch 1/1] sunrpc: align cache_clean work's timer
[not found] ` <200906101952.n5AJqLZb006065-AB4EexQrvXRQetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org>
@ 2009-06-11 9:52 ` David Miller
2009-06-11 18:31 ` J. Bruce Fields
0 siblings, 1 reply; 3+ messages in thread
From: David Miller @ 2009-06-11 9:52 UTC (permalink / raw)
To: akpm; +Cc: trond.myklebust, linux-nfs, anton, neilb
From: akpm@linux-foundation.org
Date: Wed, 10 Jun 2009 12:52:21 -0700
> From: Anton Blanchard <anton@samba.org>
>
> Align cache_clean work.
>
> Signed-off-by: Anton Blanchard <anton@samba.org>
> Cc: Neil Brown <neilb@suse.de>
> Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
> Cc: "David S. Miller" <davem@davemloft.net>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: David S. Miller <davem@davemloft.net>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [patch 1/1] sunrpc: align cache_clean work's timer
2009-06-11 9:52 ` David Miller
@ 2009-06-11 18:31 ` J. Bruce Fields
0 siblings, 0 replies; 3+ messages in thread
From: J. Bruce Fields @ 2009-06-11 18:31 UTC (permalink / raw)
To: David Miller; +Cc: akpm, trond.myklebust, linux-nfs, anton, neilb
On Thu, Jun 11, 2009 at 02:52:51AM -0700, David Miller wrote:
> From: akpm@linux-foundation.org
> Date: Wed, 10 Jun 2009 12:52:21 -0700
>
> > From: Anton Blanchard <anton@samba.org>
> >
> > Align cache_clean work.
> >
> > Signed-off-by: Anton Blanchard <anton@samba.org>
> > Cc: Neil Brown <neilb@suse.de>
> > Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
> > Cc: "David S. Miller" <davem@davemloft.net>
> > Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
>
> Acked-by: David S. Miller <davem@davemloft.net>
Thanks, applied for 2.6.31.
--b.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-06-11 18:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-10 19:52 [patch 1/1] sunrpc: align cache_clean work's timer akpm
[not found] ` <200906101952.n5AJqLZb006065-AB4EexQrvXRQetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org>
2009-06-11 9:52 ` David Miller
2009-06-11 18:31 ` J. Bruce Fields
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox