xfs
[Top] [All Lists]

Re: [PATCH 6/6] xfs: make discard operations asynchronous

To: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Subject: Re: [PATCH 6/6] xfs: make discard operations asynchronous
From: Alex Elder <aelder@xxxxxxx>
Date: Fri, 25 Mar 2011 16:04:55 -0500
Cc: xfs@xxxxxxxxxxx
In-reply-to: <20110322200138.216042448@xxxxxxxxxxxxxxxxxxxxxx>
References: <20110322195550.260682574@xxxxxxxxxxxxxxxxxxxxxx> <20110322200138.216042448@xxxxxxxxxxxxxxxxxxxxxx>
Reply-to: aelder@xxxxxxx
On Tue, 2011-03-22 at 15:55 -0400, Christoph Hellwig wrote:
> Instead of waiting for each discard request keep the CIL context alive
> until all of them are done, at which point we can tear it down completly
> and remove the busy extents from the rbtree.
> 
> At this point I'm doing the I/O completion from IRQ context for simplicity,
> but I'll benchmark it against a version that uses a workqueue.
> 
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>

This looks good.

Reviewed-by: Alex Elder <aelder@xxxxxxx>

. . .

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