* [Fwd: Re: [PATCH 4/4] xfs: reduce the number of pagb_lock roundtrips in xfs_alloc_clear_busy]
@ 2011-04-21 20:09 Alex Elder
0 siblings, 0 replies; only message in thread
From: Alex Elder @ 2011-04-21 20:09 UTC (permalink / raw)
To: xfs
Forgot to reply-all. Sorry. -Alex
-------- Forwarded Message --------
From: Alex Elder <aelder@sgi.com>
Reply-to: aelder@sgi.com
To: Christoph Hellwig <hch@infradead.org>
Subject: Re: [PATCH 4/4] xfs: reduce the number of pagb_lock roundtrips
in xfs_alloc_clear_busy
Date: Thu, 21 Apr 2011 15:08:32 -0500
On Mon, 2011-04-18 at 02:59 -0400, Christoph Hellwig wrote:
> Instead of finding the per-ag and then taking and releasing the pagb_lock
> for every single busy extent completed sort the list of busy extents and
> only switch betweens AGs where nessecary. This becomes especially important
> with the online discard support which will hit this lock more often.
Looks good.
My only comment was going to be:
Is it better to sort before when committed, or sort at
insertion time?
But I worked through it and concluded you are doing exactly
the right thing.
Reviewed-by: Alex Elder <aelder@sgi.com>
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-04-21 20:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-21 20:09 [Fwd: Re: [PATCH 4/4] xfs: reduce the number of pagb_lock roundtrips in xfs_alloc_clear_busy] Alex Elder
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox