xfs
[Top] [All Lists]

Re: clearing 'flag unwritten extents'

To: Nathan Scott <nathans@xxxxxxx>
Subject: Re: clearing 'flag unwritten extents'
From: Roger Willcocks <willcor@xxxxxxxxx>
Date: Fri, 11 Nov 2005 12:48:48 +0000
Cc: linux-xfs@xxxxxxxxxxx
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZbPjtyYWDjKpGmqWJv+KFVCy9dFs+FNyi+S8YR2tvmQvffsvDIq1DlL+5Yy8cJjfnCWKBC0qU+vmL6RFh/pOOpOlml3zHkC5xvsqQrM3rG4P0qY6TVJV/Px6GJM3yEZReBo9KhjfbU3P5WnmVOLotqCf7DTJ1Ih9nOFoJx9SYrE=
In-reply-to: <20051111073434.B6484324@wobbly.melbourne.sgi.com>
References: <cfac95650511101111w7e48e397w13bd8c9627e1aefd@mail.gmail.com> <20051111073434.B6484324@wobbly.melbourne.sgi.com>
Sender: linux-xfs-bounce@xxxxxxxxxxx
> once [the flag unwritten extents option is] set unwritten extents may
> have been used, and there's no going back at that point.

I'd like to understand this a bit more - is this a security issue or
an architectural one?

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.
The system would still do the right thing with previously flagged
extents. Or am I missing something?

--
Roger


On 11/10/05, Nathan Scott <nathans@xxxxxxx> wrote:
> On Thu, Nov 10, 2005 at 07:11:32PM +0000, Roger Willcocks wrote:
> > xfs_db has an option (version extflg) for setting the 'flag unwritten
> > extents' bit in the superblock(s), but no way of clearing it.
> >
> > Is this deliberate?
>
> Yes, once set unwritten extents may have been used, and there's
> no going back at that point.
>
> cheers.
>
> --
> Nathan
>


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