[PATCH 2/4] xfs: use unhashed buffers for size checks

Alex Elder aelder at sgi.com
Fri Sep 10 16:33:57 CDT 2010


On Thu, 2010-09-09 at 01:12 +1000, Dave Chinner wrote:
> From: Dave Chinner <dchinner at redhat.com>
> 
> When we are checking we can access the last block of each device, we
> do not need to use hashed buffers as they will be tossed away
> immediately. Use unhashed buffers for size checks so that all IO
> prior to full in-memory structure initialisation does not use the
> buffer cache hashes.

This one also looks good, and again I agree with the
comments Christoph made.  I'll look for your update.
Patch 3 in the series is good too; I'll look at the
last patch (the switch to rbtrees) over the weekend.

> Signed-off-by: Dave Chinner <dchinner at redhat.com>





More information about the xfs mailing list