xfs
[Top] [All Lists]

Re: clearing 'flag unwritten extents'

To: Roger Willcocks <willcor@xxxxxxxxx>
Subject: Re: clearing 'flag unwritten extents'
From: Steve Lord <lord@xxxxxxx>
Date: Tue, 15 Nov 2005 09:25:18 -0600
Cc: Nathan Scott <nathans@xxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <cfac95650511150713t75b41d76i50a5ce274dcef28f@xxxxxxxxxxxxxx>
References: <cfac95650511101111w7e48e397w13bd8c9627e1aefd@xxxxxxxxxxxxxx> <20051111073434.B6484324@xxxxxxxxxxxxxxxxxxxxxxxx> <cfac95650511110448n4a06abb8pa83452a4103dfc8d@xxxxxxxxxxxxxx> <20051114091337.P6499030@xxxxxxxxxxxxxxxxxxxxxxxx> <cfac95650511150713t75b41d76i50a5ce274dcef28f@xxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Thunderbird 1.4.1 (X11/20051006)
Roger Willcocks wrote:
On 11/13/05, Nathan Scott <nathans@xxxxxxx> wrote:
On Fri, Nov 11, 2005 at 12:48:48PM +0000, Roger Willcocks wrote:
AIUI, the 'flag unwritten extents' option allows non-root users to
preallocate unwritten extents (root can always create them). Clearing
the option would just prevent the creation of new unwritten extents.
It does more than just that - in xfs_bmapi it changes the way
extents are handled - look for XFS_SB_VERSION_HASEXTFLGBIT in
xfs_bmap.c in particular.

But only for realtime extents - and I don't have any of those...

--
Roger


Nope, unwritten extents exist in the main part of the filesystem too.
They are not always used, but they are not just for realtime files.

Steve


<Prev in Thread] Current Thread [Next in Thread>