xfs
[Top] [All Lists]

Re: [RFC][PATCH] sys_fallocate() system call

To: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
Subject: Re: [RFC][PATCH] sys_fallocate() system call
From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Date: Sun, 18 Mar 2007 01:38:38 +1100
Cc: Matthew Wilcox <matthew@xxxxxx>, Paul Mackerras <paulus@xxxxxxxxx>, "Amit K. Arora" <aarora@xxxxxxxxxxxxxxxxxx>, linux-fsdevel@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, linux-ext4@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>, suparna@xxxxxxxxxx, cmm@xxxxxxxxxx, alex@xxxxxxxxxxxxx, suzuki@xxxxxxxxxx
In-reply-to: <20070317143043.GA8577@xxxxxxxxxxxxxx>
References: <20070117094658.GA17390@xxxxxxxxxxxxxxxxxxxx> <20070225022326.137b4875.akpm@xxxxxxxxxxxxxxxxxxxx> <20070301183445.GA7911@xxxxxxxxxxxxxxxxxxxx> <20070316143101.GA10152@xxxxxxxxxxxxxxxxxxxx> <20070316161704.GE8525@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <17915.48105.70494.958220@xxxxxxxxxxxxxxxxxxxx> <20070317110706.GB29931@xxxxxxxxxxxxxxxx> <20070317143043.GA8577@xxxxxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
On Sat, 17 Mar 2007 15:30:43 +0100 Heiko Carstens <heiko.carstens@xxxxxxxxxx> 
wrote:
>
> sys_sync_file_range(int fd, loff_t offset, loff_t nbytes, unsigned int flags)
>
> But from what I read, it's currently not possible for 32-bit powerpc to
> wire up the already present sync_file_range system call.

32bit native is fine (as the ABI in user mode is the same as that in the
kernel).  For 32bit on a 64bit kernel you need the arch specific comapt
routine that I used in the patch I posteda little while ago,

--
Cheers,
Stephen Rothwell                    sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgpPdUDqGx9aB.pgp
Description: PGP signature

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