Re: Linux page cache issue?

2007-04-02 Thread Jan Kara
Hi Xin, On Thu 29-03-07 10:41:01, Xin Zhao wrote: I know we can use device inode's radix tree to achieve the same goal. The only downside could be: First, by default, Linux will not add the data pages into that radix tree. Only when a file is opened in Right. O_DIRECT, the data pages

Re: [ANNOUNCE] new new aops patchset

2007-04-02 Thread Badari Pulavarty
On Mon, 2007-04-02 at 14:09 +0200, Nick Piggin wrote: Updated aops patchset against 2.6.21-rc5. http://www.kernel.org/pub/linux/kernel/people/npiggin/patches/new-aops/ Files/dirs are 2.6.21-rc5-new-aops* Contains numerous fixes from Mark and myself -- I'd say the core code is getting

Re: [ANNOUNCE] new new aops patchset

2007-04-02 Thread Badari Pulavarty
On Mon, 2007-04-02 at 14:09 +0200, Nick Piggin wrote: Updated aops patchset against 2.6.21-rc5. http://www.kernel.org/pub/linux/kernel/people/npiggin/patches/new-aops/ Files/dirs are 2.6.21-rc5-new-aops* Contains numerous fixes from Mark and myself -- I'd say the core code is getting

Re: [ANNOUNCE] new new aops patchset

2007-04-02 Thread Badari Pulavarty
On Mon, 2007-04-02 at 14:09 +0200, Nick Piggin wrote: Updated aops patchset against 2.6.21-rc5. http://www.kernel.org/pub/linux/kernel/people/npiggin/patches/new-aops/ Files/dirs are 2.6.21-rc5-new-aops* [EMAIL PROTECTED] linux-2.6.21-rc5]# make -j8 modules CHK

[PATCH 1/9] AF_RXRPC: Add blkcipher accessors for using kernel data directly

2007-04-02 Thread David Howells
Add blkcipher accessors for using kernel data directly without the use of scatter lists. Also add a CRYPTO_ALG_DMA algorithm capability flag to permit or deny the use of DMA and hardware accelerators. A hardware accelerator may not be used to access any arbitrary piece of kernel memory lest it

[PATCH 2/9] AF_RXRPC: Move generic skbuff stuff from XFRM code to generic code

2007-04-02 Thread David Howells
Move generic skbuff stuff from XFRM code to generic code so that AF_RXRPC can use it too. The kdoc comments I've attached to the functions needs to be checked by whoever wrote them as I had to make some guesses about the workings of these functions. Signed-Off-By: David Howells [EMAIL PROTECTED]

[PATCH 0/9] AF_RXRPC socket family and AFS rewrite

2007-04-02 Thread David Howells
The first of these patches together provide secure client-side RxRPC connectivity as a Linux kernel socket family. Only the RxRPC transport/session side is supplied - the presentation side (marshalling the data) is left to the client. Copies of the patches can be found here:

[PATCH 4/9] AF_RXRPC: Key facility changes for AF_RXRPC

2007-04-02 Thread David Howells
Export the keyring key type definition and document its availability. Add alternative types into the key's type_data union to make it more useful. Not all users necessarily want to use it as a list_head (AF_RXRPC doesn't, for example), so make it clear that it can be used in other ways.

[PATCH 3/9] AF_RXRPC: Make it possible to merely try to cancel timers and delayed work

2007-04-02 Thread David Howells
Export try_to_del_timer_sync() for use by the RxRPC module. Add a try_to_cancel_delayed_work() so that it is possible to merely attempt to cancel a delayed work timer. Signed-Off-By: David Howells [EMAIL PROTECTED] --- include/linux/workqueue.h | 21 + kernel/timer.c

[PATCH 7/9] AF_RXRPC: Add an interface to the AF_RXRPC module for the AFS filesystem to use

2007-04-02 Thread David Howells
Add an interface to the AF_RXRPC module so that the AFS filesystem module can more easily make use of the services available. AFS still opens a socket but then uses the action functions in lieu of sendmsg() and registers an intercept functions to grab messages before they're queued on the socket

Re: [ANNOUNCE] new new aops patchset

2007-04-02 Thread Badari Pulavarty
On Mon, 2007-04-02 at 14:09 +0200, Nick Piggin wrote: Updated aops patchset against 2.6.21-rc5. http://www.kernel.org/pub/linux/kernel/people/npiggin/patches/new-aops/ Sorry to send you so many silly fixes, but I though it would be easy to review individual ones. Thanks, Badari ---

Re: [ANNOUNCE] new new aops patchset

2007-04-02 Thread Nick Piggin
On Mon, Apr 02, 2007 at 04:31:22PM -0700, Badari Pulavarty wrote: On Mon, 2007-04-02 at 14:09 +0200, Nick Piggin wrote: Updated aops patchset against 2.6.21-rc5. http://www.kernel.org/pub/linux/kernel/people/npiggin/patches/new-aops/ Sorry to send you so many silly fixes, but I

Re: [ANNOUNCE] new new aops patchset

2007-04-02 Thread Nick Piggin
On Mon, Apr 02, 2007 at 04:14:59PM -0700, Badari Pulavarty wrote: On Mon, 2007-04-02 at 14:09 +0200, Nick Piggin wrote: Updated aops patchset against 2.6.21-rc5. http://www.kernel.org/pub/linux/kernel/people/npiggin/patches/new-aops/ Files/dirs are 2.6.21-rc5-new-aops* Baaah !! You

Re: [ANNOUNCE] new new aops patchset

2007-04-02 Thread Badari Pulavarty
On Mon, 2007-04-02 at 14:09 +0200, Nick Piggin wrote: Updated aops patchset against 2.6.21-rc5. http://www.kernel.org/pub/linux/kernel/people/npiggin/patches/new-aops/ Files/dirs are 2.6.21-rc5-new-aops* ext3_write_begin() is computing start incorrectly. Thanks, Badari ---

Re: [ANNOUNCE] new new aops patchset

2007-04-02 Thread Nick Piggin
On Mon, Apr 02, 2007 at 01:44:59PM -0700, Badari Pulavarty wrote: On Mon, 2007-04-02 at 14:09 +0200, Nick Piggin wrote: Updated aops patchset against 2.6.21-rc5. http://www.kernel.org/pub/linux/kernel/people/npiggin/patches/new-aops/ Files/dirs are 2.6.21-rc5-new-aops* Contains

Re: [ANNOUNCE] new new aops patchset

2007-04-02 Thread Badari Pulavarty
On Mon, 2007-04-02 at 14:09 +0200, Nick Piggin wrote: Updated aops patchset against 2.6.21-rc5. http://www.kernel.org/pub/linux/kernel/people/npiggin/patches/new-aops/ Files/dirs are 2.6.21-rc5-new-aops* One more cleanup. index is unused. BTW, I will take a shot at ext4 tomorrow. (If you

Re: [ANNOUNCE] new new aops patchset

2007-04-02 Thread Nick Piggin
On Mon, Apr 02, 2007 at 04:56:11PM -0700, Badari Pulavarty wrote: On Mon, 2007-04-02 at 14:09 +0200, Nick Piggin wrote: Updated aops patchset against 2.6.21-rc5. http://www.kernel.org/pub/linux/kernel/people/npiggin/patches/new-aops/ Files/dirs are 2.6.21-rc5-new-aops*

Re: [ANNOUNCE] new new aops patchset

2007-04-02 Thread Nick Piggin
On Mon, Apr 02, 2007 at 05:00:50PM -0700, Badari Pulavarty wrote: On Mon, 2007-04-02 at 14:09 +0200, Nick Piggin wrote: Updated aops patchset against 2.6.21-rc5. http://www.kernel.org/pub/linux/kernel/people/npiggin/patches/new-aops/ Files/dirs are 2.6.21-rc5-new-aops* One more

Re: [ANNOUNCE] new new aops patchset

2007-04-02 Thread Nick Piggin
On Mon, Apr 02, 2007 at 01:18:13PM -0700, Badari Pulavarty wrote: On Mon, 2007-04-02 at 14:09 +0200, Nick Piggin wrote: Updated aops patchset against 2.6.21-rc5. http://www.kernel.org/pub/linux/kernel/people/npiggin/patches/new-aops/ Files/dirs are 2.6.21-rc5-new-aops* Contains

Re: [PATCH 2/9] AF_RXRPC: Move generic skbuff stuff from XFRM code to generic code

2007-04-02 Thread David Miller
From: David Howells [EMAIL PROTECTED] Date: Mon, 02 Apr 2007 23:45:03 +0100 Move generic skbuff stuff from XFRM code to generic code so that AF_RXRPC can use it too. The kdoc comments I've attached to the functions needs to be checked by whoever wrote them as I had to make some guesses