[PATCH] xfs_repair: multithread phase 2
Christoph Hellwig
hch at infradead.org
Mon Jan 10 13:18:26 CST 2011
On Mon, Jan 10, 2011 at 02:25:47PM +0100, Michael Monnerie wrote:
> On Montag, 10. Januar 2011 Dave Chinner wrote:
> > Pretty much
> > every sata disk supports NCQ these days, and default to a depth of
> > 32, which means we can have 32 concurrent reads in progress at once.
> > Phase 2 is all synchronous IO, so the only way to hide the IO
> > latency is to queue work to multiple threads and switch between the
> > threadsto work on another queue when the current one blocks waiting
> > for IO.
>
> This is interesting. Did you measure this with a rotating single disk?
Take a look at the patch description.
More information about the xfs
mailing list