[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1218704748.4620.50.camel@pmac.infradead.org>
Date: Thu, 14 Aug 2008 10:05:48 +0100
From: David Woodhouse <dwmw2@...radead.org>
To: linux-ext4@...r.kernel.org
Subject: Re: [EXT2] Discard unused sectors
I'm not sure how to do this for ext[34]. The sb_issue_discard() function
issues its requests as a soft barrier, because for naïve callers it
needs to ensure that the discard happens _before_ any subsequent writes
to the same sectors (if they get reallocated immediately).
But ext[34] can probably do better than that, and submit the discard
requests _without_ barriers of their own. If someone with a bit more
clue does it, that is.
--
David Woodhouse Open Source Technology Centre
David.Woodhouse@...el.com Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists