xfs
[Top] [All Lists]

Re: Review: demand reaping of filestreams objects

To: David Chinner <dgc@xxxxxxx>
Subject: Re: Review: demand reaping of filestreams objects
From: Donald Douwsma <donaldd@xxxxxxx>
Date: Mon, 30 Jul 2007 14:49:45 +1000
Cc: xfs-dev <xfs-dev@xxxxxxx>, xfs-oss <xfs@xxxxxxxxxxx>
In-reply-to: <20070723021051.GV12413810@sgi.com>
References: <20070723021051.GV12413810@sgi.com>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Thunderbird 1.5.0.12 (X11/20070604)
David Chinner wrote:
> Now that the problems with cancel_rearming_delayed_workqueue()
> deadlocks have been fixed, we can go back to only running
> the reaping when we have objects to time out. This prevents
> the reaper from running when there is nothing to do.
> 
> Cheers,
> 
> Dave.

You probably meant to remove the printk's,

@@ -206,8 +206,12 @@ _xfs_mru_cache_list_insert(
...
+               if (!mru->queued) {
+                       printk("reaper started\n");

@@ -271,29 +275,27 @@ _xfs_mru_cache_reap(
+       } else
+       printk("reaper stopped\n");


Apart from that it looks good, much simpler.

Don


<Prev in Thread] Current Thread [Next in Thread>