Received: with ECARTIS (v1.0.0; list xfs); Sun, 20 Jan 2008 18:31:57 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.0-r574664 (2007-09-11) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-r574664 Received: from cuda.sgi.com (cuda2.sgi.com [192.48.168.29]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m0L2VnA6029210 for ; Sun, 20 Jan 2008 18:31:53 -0800 X-ASG-Debug-ID: 1200882725-464a001f0000-NocioJ X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from sandeen.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 6237253E5B1 for ; Sun, 20 Jan 2008 18:32:06 -0800 (PST) Received: from sandeen.net (sandeen.net [209.173.210.139]) by cuda.sgi.com with ESMTP id jXXjziANWAfJisWs for ; Sun, 20 Jan 2008 18:32:06 -0800 (PST) Received: from Liberator.local (liberator.sandeen.net [10.0.0.4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by sandeen.net (Postfix) with ESMTP id 477DB18D92285; Sun, 20 Jan 2008 20:31:33 -0600 (CST) Message-ID: <47940404.1000009@sandeen.net> Date: Sun, 20 Jan 2008 20:31:32 -0600 From: Eric Sandeen User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: Barry Naujok CC: "xfs@oss.sgi.com" , xfs-dev X-ASG-Orig-Subj: Re: [REVIEW 2/2] Case insensitive support for XFS - user-space Subject: Re: [REVIEW 2/2] Case insensitive support for XFS - user-space References: <479118CF.1020302@sandeen.net> <47919214.9000807@sandeen.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Barracuda-Connect: sandeen.net[209.173.210.139] X-Barracuda-Start-Time: 1200882729 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=3.0 tests= X-Barracuda-Spam-Report: Code version 3.1, rules version 3.1.40034 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV 0.91.2/5505/Sun Jan 20 15:48:59 2008 on oss.sgi.com X-Virus-Status: Clean X-archive-position: 14215 X-ecartis-version: Ecartis v1.0.0 Sender: xfs-bounce@oss.sgi.com Errors-to: xfs-bounce@oss.sgi.com X-original-sender: sandeen@sandeen.net Precedence: bulk X-list: xfs Barry Naujok wrote: >>> error = libxfs_trans_reserve(tp, XFS_CREATE_LOG_RES(mp), 0, 0, >>> 0, 0); >> Can you try this instead? >> >> error = libxfs_trans_reserve(tp, XFS_IALLOC_BLOCKS(mp) + >> (XFS_IN_MAXLEVELS(mp) - 1), 0, 0, 0, 0); > > BTW. this fix works for me :) Ok, I'll trust you then. I haven't looked at what those macros do, context, etc... and probably not going to go look right now :) -Eric