From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 n5G20Uik137529 for ; Mon, 15 Jun 2009 21:00:31 -0500 Received: from kuber.nabble.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id B415890C111 for ; Mon, 15 Jun 2009 19:08:31 -0700 (PDT) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by cuda.sgi.com with ESMTP id wYSYdA4ZiQr8ROmM for ; Mon, 15 Jun 2009 19:08:31 -0700 (PDT) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MGNyl-0007A8-45 for linux-xfs@oss.sgi.com; Mon, 15 Jun 2009 19:00:51 -0700 Message-ID: <24046118.post@talk.nabble.com> Date: Mon, 15 Jun 2009 19:00:51 -0700 (PDT) From: Smit Shah Subject: Re: XFS Preallocate using ALLOCSP In-Reply-To: <24042506.post@talk.nabble.com> MIME-Version: 1.0 References: <24042506.post@talk.nabble.com> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xfs-bounces@oss.sgi.com Errors-To: xfs-bounces@oss.sgi.com To: linux-xfs@oss.sgi.com Ok i did the first part i.e preallocation using xfsctl() by using setresgid(). But still is there some way this option could be incorporated in the fallocate system call. Smit Shah wrote: > > Hi, > > I wanted to preallocate the file using the ALLOCSP so that the > preallocated space is zeroed out. Hence i used the xfsctl but the problem > is that i cannot execute it as a non-root user. So i tried using > fallocate but when i saw the xfs implementation of kernel it uses the > RESVP cmd and since the unwritten flag is set i am assuming that the > performance of writing to the preallocated space will suffer because of > the metadata updates. So is there a way to preallocate using ALLOCSP as a > non-root user or else i would be required to modify the kernel ?? > > TIA, > Smit > -- View this message in context: http://www.nabble.com/XFS-Preallocate-using-ALLOCSP-tp24042506p24046118.html Sent from the linux-xfs mailing list archive at Nabble.com. _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs