| To: | Mark Fasheh <mark.fasheh@xxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 1/5][TAKE8] manpage for fallocate |
| From: | Andreas Dilger <adilger@xxxxxxxxxxxxx> |
| Date: | Thu, 19 Jul 2007 17:58:25 -0600 |
| Cc: | "Amit K. Arora" <aarora@xxxxxxxxxxxxxxxxxx>, linux-fsdevel@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, linux-ext4@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx, tytso@xxxxxxx, cmm@xxxxxxxxxx, suparna@xxxxxxxxxx, dgc@xxxxxxx, michael.kerrisk@xxxxxxx |
| In-reply-to: | <20070719034155.GE32734@ca-server1.us.oracle.com> |
| Mail-followup-to: | Mark Fasheh <mark.fasheh@xxxxxxxxxx>, "Amit K. Arora" <aarora@xxxxxxxxxxxxxxxxxx>, linux-fsdevel@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, linux-ext4@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx, tytso@xxxxxxx, cmm@xxxxxxxxxx, suparna@xxxxxxxxxx, dgc@xxxxxxx, michael.kerrisk@xxxxxxx |
| References: | <20070713184125.GA12156@amitarora.in.ibm.com> <20070713184625.GB12156@amitarora.in.ibm.com> <20070719034155.GE32734@ca-server1.us.oracle.com> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.4.1i |
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. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: tuning XFS for tiny files, Nathan Scott |
|---|---|
| Next by Date: | Re: XFS repair on / in a hosted environment, David Chinner |
| Previous by Thread: | Re: [PATCH 1/5][TAKE8] manpage for fallocate, Mark Fasheh |
| Next by Thread: | [PATCH 2/5][TAKE8] fallocate() implementation in i386, x86_64 and powerpc, Amit K. Arora |
| Indexes: | [Date] [Thread] [Top] [All Lists] |