X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.157.11]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q5I3QSuG118947 for ; Sun, 17 Jun 2012 22:26:28 -0500 X-ASG-Debug-ID: 1339989986-04bdf01d511fb2d0001-NocioJ Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [150.101.137.131]) by cuda.sgi.com with ESMTP id zO6mdj27gwD1Z7Mv for ; Sun, 17 Jun 2012 20:26:26 -0700 (PDT) X-Barracuda-Envelope-From: david@fromorbit.com X-Barracuda-Apparent-Source-IP: 150.101.137.131 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ak0JAIGe3k95LF7Z/2dsb2JhbABFtCoEgSuBCIIYAQEFOhwjEAgDDgouFCUDIROICrdGFIsjS4VwA5UjiSWGWYJy Received: from ppp121-44-94-217.lns20.syd6.internode.on.net (HELO dastard) ([121.44.94.217]) by ipmail07.adl2.internode.on.net with ESMTP; 18 Jun 2012 12:56:25 +0930 Received: from dave by dastard with local (Exim 4.76) (envelope-from ) id 1SgSbh-00033t-AD; Mon, 18 Jun 2012 13:26:25 +1000 Resent-From: Dave Chinner Resent-Date: Mon, 18 Jun 2012 13:26:25 +1000 Resent-Message-ID: <20120618032625.GT19223@dastard> Resent-To: Christoph Hellwig , xfs@oss.sgi.com Date: Mon, 18 Jun 2012 12:30:04 +1000 From: Dave Chinner To: Christoph Hellwig Cc: xfs@oss.sgi.com Subject: Re: [PATCH 6/7] xfs: do not read the AGI buffer in xfs_dialloc until nessecary Message-ID: <20120618023004.GM19223@dastard> X-ASG-Orig-Subj: Re: [PATCH 6/7] xfs: do not read the AGI buffer in xfs_dialloc until nessecary References: <20120605144647.051012936@bombadil.infradead.org> <20120605144836.472805881@bombadil.infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120605144836.472805881@bombadil.infradead.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Barracuda-Connect: ipmail07.adl2.internode.on.net[150.101.137.131] X-Barracuda-Start-Time: 1339989986 X-Barracuda-URL: http://192.48.157.11:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=1.3 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.100170 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- On Tue, Jun 05, 2012 at 10:46:53AM -0400, Christoph Hellwig wrote: > Refactor the AG selection loop in xfs_dialloc to operate on the in-memory > perag data as much as possible. We only read the AGI buffer once we have > selected an AG to allocate inodes now instead of for every AG considered. > > Signed-off-by: Christoph Hellwig Looks ok to me. Reviewed-by: Dave Chinner -- Dave Chinner david@fromorbit.com