[PATCH 5/9] xfs: convert the xfsaild threads to a workqueue
Alex Elder
aelder at sgi.com
Thu Apr 7 16:16:28 CDT 2011
On Thu, 2011-04-07 at 11:57 +1000, Dave Chinner wrote:
> From: Dave Chinner <dchinner at redhat.com>
>
> Similar to the xfssyncd, the per-filesystem xfsaild threads can be
> converted to a global workqueue and run periodically by delayed
> works. This makes sense for the AIL pushing because it uses
> variable timeouts depending on the work that needs to be done.
>
> By removing the xfsaild, we simplify the AIL pushing code and
> remove the need to spread the code to implement the threading
> and pushing across multiple files.
Pretty cool. Looks good to me.
Reviewed-by: Alex Elder <aelder at sgi.com>
> Signed-off-by: Dave Chinner <dchinner at redhat.com>
> Reviewed-by: Christoph Hellwig <hch at lst.de>
More information about the xfs
mailing list