[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070719235825.GY5992@schatzie.adilger.int>
Date: Thu, 19 Jul 2007 17:58:25 -0600
From: Andreas Dilger <adilger@...sterfs.com>
To: Mark Fasheh <mark.fasheh@...cle.com>
Cc: "Amit K. Arora" <aarora@...ux.vnet.ibm.com>,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-ext4@...r.kernel.org, xfs@....sgi.com, tytso@....edu,
cmm@...ibm.com, suparna@...ibm.com, dgc@....com,
michael.kerrisk@....net
Subject: Re: [PATCH 1/5][TAKE8] manpage for fallocate
On Jul 18, 2007 20:41 -0700, Mark Fasheh wrote:
> On Sat, Jul 14, 2007 at 12:16:25AM +0530, Amit K. Arora wrote:
> > After a successful call, subsequent writes are guaranteed not to fail
> > because of lack of disk space.
>
> If a write to an unwritten region requires a node split, that could result
> in the allocation of new meta data which obviously could fail if the disk is
> truly full.
>
> Granted that's unlikely to happen but maybe we should be conservative and
> say something like:
>
> "After a successful call, subsequent writes are guaranteed to never require
> allocation of file data." ?
> --Mark
In the worst case, the unwritten extent could be zero-filled before the write
is done, so no exent split is needed. We discussed this recently for the
ext4 fallocate, but didn't consider it important enough to hold the code.
Cheers, Andreas
--
Andreas Dilger
Principal Software Engineer
Cluster File Systems, Inc.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists