Re: [PATCH 1/5] fallocate() implementation in i86, x86_64 and powerpc

2007-05-04 Thread David Chinner
On Thu, May 03, 2007 at 09:29:55PM -0700, Andrew Morton wrote: On Thu, 26 Apr 2007 23:33:32 +0530 Amit K. Arora [EMAIL PROTECTED] wrote: This patch implements the fallocate() system call and adds support for i386, x86_64 and powerpc. ... +{ + struct file *file; + struct inode

Re: [PATCH 1/5] fallocate() implementation in i86, x86_64 and powerpc

2007-05-04 Thread Andrew Morton
On Fri, 4 May 2007 16:07:31 +1000 David Chinner [EMAIL PROTECTED] wrote: On Thu, May 03, 2007 at 09:29:55PM -0700, Andrew Morton wrote: On Thu, 26 Apr 2007 23:33:32 +0530 Amit K. Arora [EMAIL PROTECTED] wrote: This patch implements the fallocate() system call and adds support for

Re: [NFS] [PATCH 0/18] export operations rewrite

2007-05-04 Thread Neil Brown
On Tuesday May 1, [EMAIL PROTECTED] wrote: On Fri, Mar 30, 2007 at 01:34:53PM +1000, Neil Brown wrote: On Saturday March 17, [EMAIL PROTECTED] wrote: less that 2 weeks later more than one month later :) Thanks for your explanations. - the calling conversion on the decode

Re: [PATCH 1/5] fallocate() implementation in i86, x86_64 and powerpc

2007-05-04 Thread Jakub Jelinek
On Thu, May 03, 2007 at 11:28:15PM -0700, Andrew Morton wrote: The posix spec implies that negative `len' is permitted - presumably allocate ahead of `offset'. How peculiar. I just checked the man page for posix_fallocate() and it says: EINVAL offset or len was less

Re: [PATCH 1/1] fs: add 4th case to do_path_lookup

2007-05-04 Thread Andrew Morton
On Sun, 29 Apr 2007 23:30:12 -0400 Josef Sipek [EMAIL PROTECTED] wrote: Signed-off-by: Josef 'Jeff' Sipek [EMAIL PROTECTED] diff --git a/fs/namei.c b/fs/namei.c index 2995fba..1516a9b 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -1125,6 +1125,10 @@ static int fastcall do_path_lookup(int

Re: [PATCH 1/1] fs: add 4th case to do_path_lookup

2007-05-04 Thread Christoph Hellwig
sorry, I proposed Jeff a reply long ago but haven't done yet. On Fri, May 04, 2007 at 12:02:00AM -0700, Andrew Morton wrote: @@ -1125,6 +1125,10 @@ static int fastcall do_path_lookup(int dfd, const char *name, nd-mnt = mntget(fs-rootmnt); nd-dentry =

Re: [PATCH 1/5] fallocate() implementation in i86, x86_64 and powerpc

2007-05-04 Thread David Chinner
On Thu, May 03, 2007 at 11:28:15PM -0700, Andrew Morton wrote: On Fri, 4 May 2007 16:07:31 +1000 David Chinner [EMAIL PROTECTED] wrote: On Thu, May 03, 2007 at 09:29:55PM -0700, Andrew Morton wrote: On Thu, 26 Apr 2007 23:33:32 +0530 Amit K. Arora [EMAIL PROTECTED] wrote: This

Re: [PATCH 1/1] fs: add 4th case to do_path_lookup

2007-05-04 Thread Christoph Hellwig
Oh and btw, net/sunrpc/rpc_pipe.c:rpc_lookup_parent() and fs/nfsctl.c:do_open() should be switched to the new code, at which point the path_walk() export can go. - To unsubscribe from this list: send the line unsubscribe linux-fsdevel in the body of a message to [EMAIL PROTECTED] More majordomo

Re: [PATCH] Implement renaming for debugfs

2007-05-04 Thread Jan Kara
On Thu 03-05-07 17:16:02, Greg KH wrote: On Thu, May 03, 2007 at 11:54:52AM +0200, Jan Kara wrote: On Tue 01-05-07 20:26:27, Greg KH wrote: On Mon, Apr 30, 2007 at 07:55:36PM +0200, Jan Kara wrote: Hello, attached patch implements renaming for debugfs. I was asked for this

patch: VFS: fix passing of AT_PHDR value in auxv to ELF interpreter

2007-05-04 Thread Quentin Godfroy
On a dynamic ELF executable, the current kernel loader gives to the interpreter (in the AUXV vector) the AT_PHDR argument as : offset_of_phdr_in_file + first address. It can be wrong for an executable where the program headers are not located in the first loaded segment. This patch corrects the

[PATCH] AF_RXRPC: Sort out MTU handling

2007-05-04 Thread David Howells
Sort out the MTU determination and handling in AF_RXRPC: (1) If it's present, parse the additional information supplied by the peer at the end of the ACK packet (struct ackinfo) to determine the MTU sizes that peer is willing to support. (2) Initialise the MTU size to that peer from

[PATCH] JFS: Fix race waking up jfsIO kernel thread

2007-05-04 Thread Dave Kleikamp
I've been looking at a hang that was reported off-list, and I believe I found the cause. I'm still waiting for confirmation on whether the patch does fix the problem, but I wanted to distribute the patch in case anyone else is seeing a similar hang. It looks like the problem is in kernels from

Re: [PATCH] AF_RXRPC: Sort out MTU handling

2007-05-04 Thread David Miller
From: David Howells [EMAIL PROTECTED] Date: Fri, 04 May 2007 15:56:47 +0100 Sort out the MTU determination and handling in AF_RXRPC: (1) If it's present, parse the additional information supplied by the peer at the end of the ACK packet (struct ackinfo) to determine the MTU sizes

Re: patch: VFS: fix passing of AT_PHDR value in auxv to ELF interpreter

2007-05-04 Thread Andrew Morton
On Fri, 4 May 2007 10:09:21 -0400 Quentin Godfroy [EMAIL PROTECTED] wrote: On a dynamic ELF executable, the current kernel loader gives to the interpreter (in the AUXV vector) the AT_PHDR argument as : offset_of_phdr_in_file + first address. It can be wrong for an executable where the

Re: patch: VFS: fix passing of AT_PHDR value in auxv to ELF interpreter

2007-05-04 Thread Jeremy Fitzhardinge
Quentin Godfroy wrote: + elf_ppnt = elf_phdata; + for (i = 0; i loc-elf_ex.e_phnum; i++, elf_ppnt++) + if (elf_ppnt-p_type == PT_PHDR) { + phdr_addr = elf_ppnt-p_vaddr; Won't this break with ET_DYN executables? And besides, isn't this the same

Re: patch: VFS: fix passing of AT_PHDR value in auxv to ELF interpreter

2007-05-04 Thread Quentin Godfroy
On Fri, May 04, 2007 at 04:31:49PM -0700, Jeremy Fitzhardinge wrote: Quentin Godfroy wrote: + elf_ppnt = elf_phdata; + for (i = 0; i loc-elf_ex.e_phnum; i++, elf_ppnt++) + if (elf_ppnt-p_type == PT_PHDR) { + phdr_addr = elf_ppnt-p_vaddr; Won't this

Re: patch: VFS: fix passing of AT_PHDR value in auxv to ELF interpreter

2007-05-04 Thread Quentin Godfroy
On Fri, May 04, 2007 at 04:22:08PM -0700, Andrew Morton wrote: This patch kills my FC6 machine (using a config which was derived from RH's original): Freeing unused kernel memory: 368k freed Write protecting the kernel read-only data: 959k request_module: runaway loop modprobe binfmt-464c

Re: patch: VFS: fix passing of AT_PHDR value in auxv to ELF interpreter

2007-05-04 Thread Jeremy Fitzhardinge
Quentin Godfroy wrote: Won't this break with ET_DYN executables? And besides, isn't this the same thing? Indeed, I haven't seen that. For ET_DYN executables, it could be done a thing like load_addr+elf_ppnt-p_vaddr (in the

Re: patch: VFS: fix passing of AT_PHDR value in auxv to ELF interpreter

2007-05-04 Thread Andrew Morton
On Fri, 4 May 2007 23:34:08 -0400 Quentin Godfroy [EMAIL PROTECTED] wrote: By the way, is init 32 bits or 64 bits? It could break the ia32 emulation thing, but not the 64bit native mode. akpm2:/home/akpm file /sbin/init /sbin/init: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV),