> On Wed, 17 Jan 2007 15:16:58 +0530 "Amit K. Arora" <[EMAIL PROTECTED]> wrote:
> (1) The final interface is yet to be decided. We have the option of
> chosing from one of these:
>       a> modifying posix_fallocate() in glibc
>       b> using fcntl
>       c> using ftruncate, or
>       d> using the ioctl interface.

I'd suggest we add a new syscall, which implements the posix_fallocate()
API as per the relevant specs.  We can work the final details out with Ulrich
and I'm sure that glibc's posix_fallocate() will start using the syscall if it
is available.

Actually, we should implement

 asmlinkage long sys_fallocate(int fd, loff_t offset, loff_t len);

note: loff_t, not off_t.

This probably means that we'll need to implement file_operations.fallocate().

It wouldn't surprise me if XFS was able to implement fallocate() too.
-
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to