Re: [PATCH 4/7][TAKE5] support new modes in fallocate
From: Christoph Hellwig <hch@infradead.org>
Date: 2007-07-11 09:05:16
Also in:
linux-fsdevel, linux-xfs, lkml
From: Christoph Hellwig <hch@infradead.org>
Date: 2007-07-11 09:05:16
Also in:
linux-fsdevel, linux-xfs, lkml
On Mon, Jul 02, 2007 at 08:55:43AM +1000, David Chinner wrote:
Given the current behaviour for posix_fallocate() in glibc, I think that retaining the same error semantic and punting the cleanup to userspace (where the app will fail with ENOSPC anyway) is the only sane thing we can do here. Trying to undo this in the kernel leads to lots of extra rarely used code in error handling paths...
Agreed, looks like we should stay with the user has to clean up behaviour.