[RFC][PATCH 4/14] Add config options for union mount

2007-05-14 Thread Bharata B Rao
work. printk'ing isn't the right method for getting good debugging output. Signed-off-by: Jan Blunck [EMAIL PROTECTED] Signed-off-by: Bharata B Rao [EMAIL PROTECTED] --- fs/Kconfig | 16 + include/linux/union_debug.h | 76 2

[RFC][PATCH 5/14] Introduce union stack

2007-05-14 Thread Bharata B Rao
From: Jan Blunck [EMAIL PROTECTED] Subject: Introduce union stack. Adds union stack infrastructure to the dentry structure and provides locking routines to walk the union stack. Signed-off-by: Jan Blunck [EMAIL PROTECTED] Signed-off-by: Bharata B Rao [EMAIL PROTECTED] --- fs/Makefile

[RFC][PATCH 6/14] Union-mount dentry reference counting

2007-05-14 Thread Bharata B Rao
Blunck [EMAIL PROTECTED] Signed-off-by: Bharata B Rao [EMAIL PROTECTED] --- fs/dcache.c | 43 ++- fs/dnotify.c |5 fs/inotify.c |8 + fs/namei.c | 42 +-- fs/namespace.c | 12 +- fs/proc/base.c

[RFC][PATCH 7/14] Union-mount mounting

2007-05-14 Thread Bharata B Rao
[EMAIL PROTECTED] Signed-off-by: Bharata B Rao [EMAIL PROTECTED] --- fs/namespace.c| 90 ++ fs/union.c| 71 +++ include/linux/fs.h|3 + include/linux/union.h | 33 ++ 4

[RFC][PATCH 8/14] Union-mount lookup

2007-05-14 Thread Bharata B Rao
for the pathname in the entire union mounted stack. Also they have been modified to setup the union stack during lookup from dcache cache and from real_lookup(). Signed-off-by: Jan Blunck [EMAIL PROTECTED] Signed-off-by: Bharata B Rao [EMAIL PROTECTED] --- fs/dcache.c| 16 + fs/namei.c

[RFC][PATCH 9/14] Union-mount readdir

2007-05-14 Thread Bharata B Rao
From: Bharata B Rao [EMAIL PROTECTED] Subject: Union mount readdir This modifies the readdir()/getdents() routines to read directory entries from toplevel and the lower directories of a union and present a merged view. The directory entries are read starting from the top layer

[RFC][PATCH 10/14] In-kernel file copy between union mounted filesystems

2007-05-14 Thread Bharata B Rao
to the topmost union layer first. This patch uses the do_splice_direct() for doing the in-kernel file copy. Signed-off-by: Bharata B Rao [EMAIL PROTECTED] Signed-off-by: Jan Blunck [EMAIL PROTECTED] --- fs/namei.c| 46 + fs/union.c| 415

[RFC][PATCH 11/14] VFS whiteout handling

2007-05-14 Thread Bharata B Rao
From: Jan Blunck [EMAIL PROTECTED] Subject: VFS whiteout handling Introduce white-out handling in the VFS. Signed-off-by: Jan Blunck [EMAIL PROTECTED] Signed-off-by: Bharata B Rao [EMAIL PROTECTED] --- fs/inode.c| 17 + fs/namei.c| 476

[RFC][PATCH 12/14] ext2 whiteout support

2007-05-14 Thread Bharata B Rao
From: Jan Blunck [EMAIL PROTECTED] Subject: ext2 whiteout support Introduce whiteout support to ext2. Signed-off-by: Jan Blunck [EMAIL PROTECTED] Signed-off-by: Bharata B Rao [EMAIL PROTECTED] --- fs/ext2/dir.c |2 ++ fs/ext2/namei.c | 17 + fs/ext2

[RFC][PATCH 13/14] ext3 whiteout support

2007-05-14 Thread Bharata B Rao
From: Bharata B Rao [EMAIL PROTECTED] Subject: ext3 whiteout support Introduce whiteout support for ext3. Signed-off-by: Bharata B Rao [EMAIL PROTECTED] Signed-off-by: Jan Blunck [EMAIL PROTECTED] --- fs/ext3/dir.c |2 - fs/ext3/namei.c | 62

[RFC][PATCH 14/14] tmpfs whiteout support

2007-05-14 Thread Bharata B Rao
From: Jan Blunck [EMAIL PROTECTED] Subject: tmpfs whiteout support Introduce whiteout support to tmpfs. Signed-off-by: Jan Blunck [EMAIL PROTECTED] Signed-off-by: Bharata B Rao [EMAIL PROTECTED] --- mm/shmem.c |9 - 1 files changed, 8 insertions(+), 1 deletion(-) --- a/mm/shmem.c

Re: [RFC][PATCH 9/14] Union-mount readdir

2007-05-14 Thread Bharata B Rao
On Mon, May 14, 2007 at 12:43:43PM +0200, Carsten Otte wrote: On 5/14/07, Bharata B Rao [EMAIL PROTECTED] wrote: +/* This is a copy from fs/readdir.c */ +struct getdents_callback { + struct linux_dirent __user *current_dir; + struct linux_dirent __user *previous; + int

Re: [RFC][PATCH 0/15] VFS based Union Mount

2007-04-18 Thread Bharata B Rao
On Tue, Apr 17, 2007 at 12:56:24PM -0400, Shaya Potter wrote: > Bharata B Rao wrote: > > >No. foo is not visible. While looking for a file in a union mounted > >directory, the lookup starts from the topmost directory and proceeds > >downwards if the file isn'

Re: [RFC][PATCH 0/15] VFS based Union Mount

2007-04-18 Thread Bharata B Rao
On Tue, Apr 17, 2007 at 12:56:24PM -0400, Shaya Potter wrote: Bharata B Rao wrote: No. foo is not visible. While looking for a file in a union mounted directory, the lookup starts from the topmost directory and proceeds downwards if the file isn't present the top layers. If a whiteout

Re: [RFC][PATCH 5/15] Introduce union stack

2007-04-17 Thread Bharata B Rao
On Tue, Apr 17, 2007 at 05:08:48PM -0500, Serge E. Hallyn wrote: > Quoting Bharata B Rao ([EMAIL PROTECTED]): > > From: Jan Blunck <[EMAIL PROTECTED]> > > Subject: Introduce union stack. > > > > Adds union stack infrastructure to the dentry structure and prov

Re: [RFC][PATCH 0/15] VFS based Union Mount

2007-04-17 Thread Bharata B Rao
On Tue, Apr 17, 2007 at 10:35:50AM -0400, Shaya Potter wrote: > Bharata B Rao wrote: > >Hi, > > > >Here is an attempt towards vfs based union mount implementation. > >Union mount provides the filesytem namespace unification feature. > >Unlike the tradition

[RFC][PATCH 8/15] Union-mount lookup

2007-04-17 Thread Bharata B Rao
search for the pathname in the entire union mounted stack. Also they have been modified to setup the union stack during lookup from dcache cache and from real_lookup(). Signed-off-by: Jan Blunck <[EMAIL PROTECTED]> Signed-off-by: Bharata B Rao <[EMAIL PROTECTED]> --- fs/dcache.c|

[RFC][PATCH 7/15] Union-mount mounting

2007-04-17 Thread Bharata B Rao
Blunck <[EMAIL PROTECTED]> Signed-off-by: Bharata B Rao <[EMAIL PROTECTED]> --- fs/namespace.c| 79 +- fs/union.c| 65 + include/linux/fs.h|3 + include/li

[RFC][PATCH 6/15] Union-mount dentry reference counting

2007-04-17 Thread Bharata B Rao
y: Jan Blunck <[EMAIL PROTECTED]> Signed-off-by: Bharata B Rao <[EMAIL PROTECTED]> --- fs/dcache.c | 35 -- fs/dnotify.c |5 fs/inotify.c |8 + fs/namei.c | 42 +-- fs/namespace.c

[RFC][PATCH 4/15] Add config options for union mount

2007-04-17 Thread Bharata B Rao
needs some work. printk'ing isn't the right method for getting good debugging output. Signed-off-by: Jan Blunck <[EMAIL PROTECTED]> Signed-off-by: Bharata B Rao <[EMAIL PROTECTED]> --- fs/Kconfig | 16 + include/linux/un

[RFC][PATCH 3/15] Add the whiteout file type

2007-04-17 Thread Bharata B Rao
delete (white-out) files by creating a file with this file type. Signed-off-by: Jan Blunck <[EMAIL PROTECTED]> Signed-off-by: Bharata B Rao <[EMAIL PROTECTED]> --- include/linux/stat.h |2 ++ 1 files changed, 2 insertions(+) --- a/include/linux/stat.h +++ b/include/linux/sta

[RFC][PATCH 2/15] Add a new mount flag (MNT_UNION) for union mount

2007-04-17 Thread Bharata B Rao
ed-off-by: Jan Blunck <[EMAIL PROTECTED]> Signed-off-by: Bharata B Rao <[EMAIL PROTECTED]> --- fs/namespace.c| 13 - include/linux/fs.h|2 ++ include/linux/mount.h |1 + 3 files changed, 15 insertions(+), 1 deletion(-) --- a/fs/namespace.c +++ b/fs/nam

[RFC][PATCH 5/15] Introduce union stack

2007-04-17 Thread Bharata B Rao
From: Jan Blunck <[EMAIL PROTECTED]> Subject: Introduce union stack. Adds union stack infrastructure to the dentry structure and provides locking routines to walk the union stack. Signed-off-by: Jan Blunck <[EMAIL PROTECTED]> Signed-off-by: Bharata B Rao <[EMAIL PROTECTED]>

[RFC][PATCH 1/15] Add union mount documentation

2007-04-17 Thread Bharata B Rao
From: Bharata B Rao <[EMAIL PROTECTED]> Subject: Add union mount documentation. This is an attempt to document some of the implementation details and issues of union mount. Signed-off-by: Jan Blunck <[EMAIL PROTECTED]> Signed-off-by: Bharata B Rao <[EMAIL PROTECTED]> --- D

[RFC][PATCH 15/15] Union-mount changes for NFS

2007-04-17 Thread Bharata B Rao
From: Jan Blunck <[EMAIL PROTECTED]> Subject: Union-mount changes for NFS Changes necessary to mount a NFS volume into a union. Signed-off-by: Jan Blunck <[EMAIL PROTECTED]> Signed-off-by: Bharata B Rao <[EMAIL PROTECTED]> --- fs/nfs/dir.c| 41 +++

[RFC][PATCH 14/15] tmpfs whiteout support

2007-04-17 Thread Bharata B Rao
From: Jan Blunck <[EMAIL PROTECTED]> Subject: tmpfs whiteout support Introduce whiteout support to tmpfs. Signed-off-by: Jan Blunck <[EMAIL PROTECTED]> Signed-off-by: Bharata B Rao <[EMAIL PROTECTED]> --- mm/shmem.c |9 - 1 files changed, 8 insertions(+), 1 del

[RFC][PATCH 10/15] In-kernel file copy between union mounted filesystems

2007-04-17 Thread Bharata B Rao
copied to the topmost union layer first. This patch uses the do_splice_direct() for doing the in-kernel file copy. Signed-off-by: Bharata B Rao <[EMAIL PROTECTED]> Signed-off-by: Jan Blunck <[EMAIL PROTECTED]> --- fs/namei.c| 46 + fs/union.c

[RFC][PATCH 11/15] VFS whiteout handling

2007-04-17 Thread Bharata B Rao
From: Jan Blunck <[EMAIL PROTECTED]> Subject: VFS whiteout handling Introduce white-out handling in the VFS. Signed-off-by: Jan Blunck <[EMAIL PROTECTED]> Signed-off-by: Bharata B Rao <[EMAIL PROTECTED]> --- fs/inode.c| 17 + fs/namei.c

[RFC][PATCH 12/15] ext2 whiteout support

2007-04-17 Thread Bharata B Rao
From: Jan Blunck <[EMAIL PROTECTED]> Subject: ext2 whiteout support Introduce whiteout support to ext2. Signed-off-by: Jan Blunck <[EMAIL PROTECTED]> Signed-off-by: Bharata B Rao <[EMAIL PROTECTED]> --- fs/ext2/dir.c |2 ++ fs/ext2/namei.c | 17

[RFC][PATCH 13/15] ext3 whiteout support

2007-04-17 Thread Bharata B Rao
From: Bharata B Rao <[EMAIL PROTECTED]> Subject: ext3 whiteout support Introduce whiteout support for ext3. Signed-off-by: Bharata B Rao <[EMAIL PROTECTED]> Signed-off-bg: Jan Blunck <[EMAIL PROTECTED]> --- fs/ext3/dir.c |2 - fs/ext3/name

[RFC][PATCH 9/15] Simple union-mount readdir

2007-04-17 Thread Bharata B Rao
very call, the previously read entries are re-read into the cache and newly read entires are compared against these for duplicates before being they are returned to user space. Signed-off-by: Jan Blunck <[EMAIL PROTECTED]> Signed-off-by: Bharata B Rao <[EMAIL PROTECTED]> --- fs/aio.

[RFC][PATCH 0/15] VFS based Union Mount

2007-04-17 Thread Bharata B Rao
Hi, Here is an attempt towards vfs based union mount implementation. Union mount provides the filesytem namespace unification feature. Unlike the traditional mounts which hide the contents of the mount point, the union mount presents the merged view of the mount point and the mounted filesytem.

[RFC][PATCH 0/15] VFS based Union Mount

2007-04-17 Thread Bharata B Rao
Hi, Here is an attempt towards vfs based union mount implementation. Union mount provides the filesytem namespace unification feature. Unlike the traditional mounts which hide the contents of the mount point, the union mount presents the merged view of the mount point and the mounted filesytem.

[RFC][PATCH 14/15] tmpfs whiteout support

2007-04-17 Thread Bharata B Rao
From: Jan Blunck [EMAIL PROTECTED] Subject: tmpfs whiteout support Introduce whiteout support to tmpfs. Signed-off-by: Jan Blunck [EMAIL PROTECTED] Signed-off-by: Bharata B Rao [EMAIL PROTECTED] --- mm/shmem.c |9 - 1 files changed, 8 insertions(+), 1 deletion(-) --- a/mm/shmem.c

[RFC][PATCH 15/15] Union-mount changes for NFS

2007-04-17 Thread Bharata B Rao
From: Jan Blunck [EMAIL PROTECTED] Subject: Union-mount changes for NFS Changes necessary to mount a NFS volume into a union. Signed-off-by: Jan Blunck [EMAIL PROTECTED] Signed-off-by: Bharata B Rao [EMAIL PROTECTED] --- fs/nfs/dir.c| 41 +++-- fs/nfs

[RFC][PATCH 10/15] In-kernel file copy between union mounted filesystems

2007-04-17 Thread Bharata B Rao
to the topmost union layer first. This patch uses the do_splice_direct() for doing the in-kernel file copy. Signed-off-by: Bharata B Rao [EMAIL PROTECTED] Signed-off-by: Jan Blunck [EMAIL PROTECTED] --- fs/namei.c| 46 + fs/union.c| 384

[RFC][PATCH 11/15] VFS whiteout handling

2007-04-17 Thread Bharata B Rao
From: Jan Blunck [EMAIL PROTECTED] Subject: VFS whiteout handling Introduce white-out handling in the VFS. Signed-off-by: Jan Blunck [EMAIL PROTECTED] Signed-off-by: Bharata B Rao [EMAIL PROTECTED] --- fs/inode.c| 17 + fs/namei.c| 476

[RFC][PATCH 9/15] Simple union-mount readdir

2007-04-17 Thread Bharata B Rao
, the previously read entries are re-read into the cache and newly read entires are compared against these for duplicates before being they are returned to user space. Signed-off-by: Jan Blunck [EMAIL PROTECTED] Signed-off-by: Bharata B Rao [EMAIL PROTECTED] --- fs/aio.c |7 fs

[RFC][PATCH 12/15] ext2 whiteout support

2007-04-17 Thread Bharata B Rao
From: Jan Blunck [EMAIL PROTECTED] Subject: ext2 whiteout support Introduce whiteout support to ext2. Signed-off-by: Jan Blunck [EMAIL PROTECTED] Signed-off-by: Bharata B Rao [EMAIL PROTECTED] --- fs/ext2/dir.c |2 ++ fs/ext2/namei.c | 17 + fs/ext2

Re: [RFC][PATCH 0/15] VFS based Union Mount

2007-04-17 Thread Bharata B Rao
On Tue, Apr 17, 2007 at 10:35:50AM -0400, Shaya Potter wrote: Bharata B Rao wrote: Hi, Here is an attempt towards vfs based union mount implementation. Union mount provides the filesytem namespace unification feature. Unlike the traditional mounts which hide the contents of the mount point

[RFC][PATCH 8/15] Union-mount lookup

2007-04-17 Thread Bharata B Rao
for the pathname in the entire union mounted stack. Also they have been modified to setup the union stack during lookup from dcache cache and from real_lookup(). Signed-off-by: Jan Blunck [EMAIL PROTECTED] Signed-off-by: Bharata B Rao [EMAIL PROTECTED] --- fs/dcache.c| 16 + fs/namei.c

[RFC][PATCH 7/15] Union-mount mounting

2007-04-17 Thread Bharata B Rao
[EMAIL PROTECTED] Signed-off-by: Bharata B Rao [EMAIL PROTECTED] --- fs/namespace.c| 79 +- fs/union.c| 65 + include/linux/fs.h|3 + include/linux/union.h | 33

[RFC][PATCH 6/15] Union-mount dentry reference counting

2007-04-17 Thread Bharata B Rao
Blunck [EMAIL PROTECTED] Signed-off-by: Bharata B Rao [EMAIL PROTECTED] --- fs/dcache.c | 35 -- fs/dnotify.c |5 fs/inotify.c |8 + fs/namei.c | 42 +-- fs/namespace.c | 12 +- fs/proc/base.c

[RFC][PATCH 4/15] Add config options for union mount

2007-04-17 Thread Bharata B Rao
work. printk'ing isn't the right method for getting good debugging output. Signed-off-by: Jan Blunck [EMAIL PROTECTED] Signed-off-by: Bharata B Rao [EMAIL PROTECTED] --- fs/Kconfig | 16 + include/linux/union_debug.h | 76 2

[RFC][PATCH 3/15] Add the whiteout file type

2007-04-17 Thread Bharata B Rao
-out) files by creating a file with this file type. Signed-off-by: Jan Blunck [EMAIL PROTECTED] Signed-off-by: Bharata B Rao [EMAIL PROTECTED] --- include/linux/stat.h |2 ++ 1 files changed, 2 insertions(+) --- a/include/linux/stat.h +++ b/include/linux/stat.h @@ -10,6 +10,7 @@ #if defined

[RFC][PATCH 1/15] Add union mount documentation

2007-04-17 Thread Bharata B Rao
From: Bharata B Rao [EMAIL PROTECTED] Subject: Add union mount documentation. This is an attempt to document some of the implementation details and issues of union mount. Signed-off-by: Jan Blunck [EMAIL PROTECTED] Signed-off-by: Bharata B Rao [EMAIL PROTECTED] --- Documentation/union

[RFC][PATCH 13/15] ext3 whiteout support

2007-04-17 Thread Bharata B Rao
From: Bharata B Rao [EMAIL PROTECTED] Subject: ext3 whiteout support Introduce whiteout support for ext3. Signed-off-by: Bharata B Rao [EMAIL PROTECTED] Signed-off-bg: Jan Blunck [EMAIL PROTECTED] --- fs/ext3/dir.c |2 - fs/ext3/namei.c | 65

[RFC][PATCH 2/15] Add a new mount flag (MNT_UNION) for union mount

2007-04-17 Thread Bharata B Rao
-by: Jan Blunck [EMAIL PROTECTED] Signed-off-by: Bharata B Rao [EMAIL PROTECTED] --- fs/namespace.c| 13 - include/linux/fs.h|2 ++ include/linux/mount.h |1 + 3 files changed, 15 insertions(+), 1 deletion(-) --- a/fs/namespace.c +++ b/fs/namespace.c @@ -376,6 +376,7

[RFC][PATCH 5/15] Introduce union stack

2007-04-17 Thread Bharata B Rao
From: Jan Blunck [EMAIL PROTECTED] Subject: Introduce union stack. Adds union stack infrastructure to the dentry structure and provides locking routines to walk the union stack. Signed-off-by: Jan Blunck [EMAIL PROTECTED] Signed-off-by: Bharata B Rao [EMAIL PROTECTED] --- fs/Makefile

Re: [RFC][PATCH 5/15] Introduce union stack

2007-04-17 Thread Bharata B Rao
On Tue, Apr 17, 2007 at 05:08:48PM -0500, Serge E. Hallyn wrote: Quoting Bharata B Rao ([EMAIL PROTECTED]): From: Jan Blunck [EMAIL PROTECTED] Subject: Introduce union stack. Adds union stack infrastructure to the dentry structure and provides locking routines to walk the union stack

Re: Heads up on VFS based union mount

2007-03-31 Thread Bharata B Rao
On Fri, Mar 30, 2007 at 09:04:16PM +0200, Jan Engelhardt wrote: > > On Mar 30 2007 15:38, Bharata B Rao wrote: > > > >In union mount approach we maintain this stacking information in the > >dentry structure. When a filesytem is union mounted on a mountpoint, > &g

Re: Heads up on VFS based union mount

2007-03-31 Thread Bharata B Rao
On Fri, Mar 30, 2007 at 09:04:16PM +0200, Jan Engelhardt wrote: On Mar 30 2007 15:38, Bharata B Rao wrote: In union mount approach we maintain this stacking information in the dentry structure. When a filesytem is union mounted on a mountpoint, the dentry of the mount root would hold

Heads up on VFS based union mount

2007-03-30 Thread Bharata B Rao
The need for a unified/merged view of two or more filesystems/directories has been felt for sometime now. Though a few out-of-the-kernel solutions existed for this, it is only recently that the unionfs(1) solution has gone into -mm. At the time of merging unionfs into -mm, a few questions were

Heads up on VFS based union mount

2007-03-30 Thread Bharata B Rao
The need for a unified/merged view of two or more filesystems/directories has been felt for sometime now. Though a few out-of-the-kernel solutions existed for this, it is only recently that the unionfs(1) solution has gone into -mm. At the time of merging unionfs into -mm, a few questions were

Re: -mm merge plans for 2.6.21

2007-02-08 Thread Bharata B Rao
Andrew, On 2/9/07, Andrew Morton <[EMAIL PROTECTED]> wrote: fsaio-add-a-wait-queue-arg-to-the-wait_bit-action-routine.patch fsaio-add-a-wait-queue-arg-to-the-wait_bit-action-routine-gfs2-fix.patch fsaio-rename-__lock_page-to-lock_page_blocking.patch

Re: -mm merge plans for 2.6.21

2007-02-08 Thread Bharata B Rao
Andrew, On 2/9/07, Andrew Morton [EMAIL PROTECTED] wrote: fsaio-add-a-wait-queue-arg-to-the-wait_bit-action-routine.patch fsaio-add-a-wait-queue-arg-to-the-wait_bit-action-routine-gfs2-fix.patch fsaio-rename-__lock_page-to-lock_page_blocking.patch

Re: [PATCH -mm 5/5][AIO] - Add listio syscall support

2007-01-24 Thread Bharata B Rao
On Tue, Jan 23, 2007 at 10:04:33PM -0800, Andrew Morton wrote: > On Wed, 17 Jan 2007 10:55:54 +0100 > Sébastien Dugué <[EMAIL PROTECTED]> wrote: > > > +void lio_check(struct lio_event *lio) > > +{ > > + int ret; > > + > > + ret = atomic_dec_and_test(>lio_users); > > + > > + if

Re: [PATCH -mm 5/5][AIO] - Add listio syscall support

2007-01-24 Thread Bharata B Rao
On Tue, Jan 23, 2007 at 10:04:33PM -0800, Andrew Morton wrote: On Wed, 17 Jan 2007 10:55:54 +0100 Sébastien Dugué [EMAIL PROTECTED] wrote: +void lio_check(struct lio_event *lio) +{ + int ret; + + ret = atomic_dec_and_test(lio-lio_users); + + if (unlikely(ret)

[PATCHSET 3][PATCH 5/5][AIO] - Add listio support

2007-01-04 Thread Bharata B Rao
to the system call for this purpose ? This patch along with the previous 4 AIO completion signal notification patches have been tested using libposix-aio library. Tests have been done on x86 and x86_64 boxes. The compat syscall changes have been tested on x86_64 system. From: Bharata B Rao <[EM

[PATCHSET 3][PATCH 4/5][AIO] - AIO completion signal notification

2007-01-04 Thread Bharata B Rao
ED]> Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]> Signed-off-by: Bharata B Rao <[EMAIL PROTECTED]> --- fs/aio.c| 115 ++-- fs/compat.c | 18 +++ include/linux/aio.h | 12 + include

[PATCHSET 3][PATCH 3/5][AIO] - Make good_sigevent non-static

2007-01-04 Thread Bharata B Rao
gnal.c where it belongs, and make it non-static so that it can be used by other subsystems. Signed-off-by: Sébastien Dugué <[EMAIL PROTECTED]> Signed-off-by: Bharata B Rao <[EMAIL PROTECTED]> --- include/linux/signal.h |1 + kernel/posix-timers.c | 17 - kernel/sign

[PATCHSET 3][PATCH 2/5][AIO] - fix aio.h includes

2007-01-04 Thread Bharata B Rao
Fix the double inclusion of linux/uio.h in linux/aio.h From: Sébastien Dugué <[EMAIL PROTECTED]> Fix the double inclusion of linux/uio.h in linux/aio.h Signed-off-by: Sébastien Dugué <[EMAIL PROTECTED]> Signed-off-by: Bharata B Rao <[EMAIL PROTECTED]> --- include/linux

[PATCHSET 3][PATCH 1/5][AIO] - Rework compat_sys_io_submit

2007-01-04 Thread Bharata B Rao
stack for io_submit_one() to find the sigevents. Signed-off-by: Sébastien Dugué <[EMAIL PROTECTED]> Signed-off-by: Bharata B Rao <[EMAIL PROTECTED]> --- fs/compat.c | 61 +--- 1 files changed, 34 insertions(+), 27 deletions(-) dif

[PATCHSET 3][PATCH 0/5][AIO] - AIO completion signal notification v4

2007-01-04 Thread Bharata B Rao
Hi Here is a repost of Sebastien's AIO completion signal notification v4 patches along with the syscall based listio support patch. The goal of this patchset is to improve the POSIX AIO support in the kernel. While the 1st 4 patches provide the AIO completion signal notification

[PATCHSET 3][PATCH 0/5][AIO] - AIO completion signal notification v4

2007-01-04 Thread Bharata B Rao
Hi Here is a repost of Sebastien's AIO completion signal notification v4 patches along with the syscall based listio support patch. The goal of this patchset is to improve the POSIX AIO support in the kernel. While the 1st 4 patches provide the AIO completion signal notification

[PATCHSET 3][PATCH 1/5][AIO] - Rework compat_sys_io_submit

2007-01-04 Thread Bharata B Rao
for io_submit_one() to find the sigevents. Signed-off-by: Sébastien Dugué [EMAIL PROTECTED] Signed-off-by: Bharata B Rao [EMAIL PROTECTED] --- fs/compat.c | 61 +--- 1 files changed, 34 insertions(+), 27 deletions(-) diff -puN fs/compat.c~rework

[PATCHSET 3][PATCH 2/5][AIO] - fix aio.h includes

2007-01-04 Thread Bharata B Rao
Fix the double inclusion of linux/uio.h in linux/aio.h From: Sébastien Dugué [EMAIL PROTECTED] Fix the double inclusion of linux/uio.h in linux/aio.h Signed-off-by: Sébastien Dugué [EMAIL PROTECTED] Signed-off-by: Bharata B Rao [EMAIL PROTECTED] --- include/linux/aio.h |1 - 1 files

[PATCHSET 3][PATCH 3/5][AIO] - Make good_sigevent non-static

2007-01-04 Thread Bharata B Rao
it belongs, and make it non-static so that it can be used by other subsystems. Signed-off-by: Sébastien Dugué [EMAIL PROTECTED] Signed-off-by: Bharata B Rao [EMAIL PROTECTED] --- include/linux/signal.h |1 + kernel/posix-timers.c | 17 - kernel/signal.c| 24

[PATCHSET 3][PATCH 4/5][AIO] - AIO completion signal notification

2007-01-04 Thread Bharata B Rao
PROTECTED] Signed-off-by: Bharata B Rao [EMAIL PROTECTED] --- fs/aio.c| 115 ++-- fs/compat.c | 18 +++ include/linux/aio.h | 12 + include/linux/aio_abi.h |3 - kernel/signal.c |2 5 files

[PATCHSET 3][PATCH 5/5][AIO] - Add listio support

2007-01-04 Thread Bharata B Rao
to the system call for this purpose ? This patch along with the previous 4 AIO completion signal notification patches have been tested using libposix-aio library. Tests have been done on x86 and x86_64 boxes. The compat syscall changes have been tested on x86_64 system. From: Bharata B Rao [EMAIL

Re: [PATCH -mm 3/5][AIO] - export good_sigevent()

2006-12-04 Thread Bharata B Rao
On Wed, Nov 29, 2006 at 11:32:34AM +0100, Sébastien Dugué wrote: > > > +/*** > + * good_sigevent - check and get target task from a sigevent. > + * @event: the sigevent to be checked > + * > + * This function must be called with tasklist_lock held for reading. > + */ > +struct task_struct *

[RFC] AIO: listio support - syscall approach

2006-12-04 Thread Bharata B Rao
Dugué <[EMAIL PROTECTED]> Signed-off-by: Laurent Vivier <[EMAIL PROTECTED]> Signed-off-by: Bharata B Rao <[EMAIL PROTECTED]> --- arch/i386/kernel/syscall_table.S |1 fs/aio.c | 175 ++- fs/compat.c

[RFC] AIO: listio support - syscall approach

2006-12-04 Thread Bharata B Rao
Dugué [EMAIL PROTECTED] Signed-off-by: Laurent Vivier [EMAIL PROTECTED] Signed-off-by: Bharata B Rao [EMAIL PROTECTED] --- arch/i386/kernel/syscall_table.S |1 fs/aio.c | 175 ++- fs/compat.c | 111

Re: [PATCH -mm 3/5][AIO] - export good_sigevent()

2006-12-04 Thread Bharata B Rao
On Wed, Nov 29, 2006 at 11:32:34AM +0100, Sébastien Dugué wrote: snip +/*** + * good_sigevent - check and get target task from a sigevent. + * @event: the sigevent to be checked + * + * This function must be called with tasklist_lock held for reading. + */ +struct task_struct *

Re: [PATCH -mm 4/4][AIO] - Listio support

2006-11-27 Thread Bharata B Rao
ROTECTED]> Signed-off-by: Bharata B Rao <[EMAIL PROTECTED]> --- fs/aio.c | 181 +-- fs/compat.c | 29 +++ include/linux/aio.h | 13 ++- include/linux/aio_abi.h |5 + include/linux/syscalls.h |2 5

Re: [PATCH -mm 4/4][AIO] - Listio support

2006-11-27 Thread Bharata B Rao
the lio_users count and eventually signal the user process when all the requests in the group have completed. Sebastien Dugue's listio patch has been modified to arrive at this patch. Signed-off-by: Sebastien Dugue [EMAIL PROTECTED] Signed-off-by: Laurent Vivier [EMAIL PROTECTED] Signed-off-by: Bharata B

Re: [PATCH] i386 boottime for_each_cpu broken

2005-08-11 Thread Bharata B Rao
On Thu, Aug 11, 2005 at 04:54:44AM +, Zwane Mwaikambo wrote: > for_each_cpu walks through all processors in cpu_possible_map, which is > defined as cpu_callout_map on i386 and isn't initialised until all > processors have been booted. This breaks things which do for_each_cpu > iterations

Re: [PATCH] i386 boottime for_each_cpu broken

2005-08-11 Thread Bharata B Rao
On Thu, Aug 11, 2005 at 04:54:44AM +, Zwane Mwaikambo wrote: for_each_cpu walks through all processors in cpu_possible_map, which is defined as cpu_callout_map on i386 and isn't initialised until all processors have been booted. This breaks things which do for_each_cpu iterations early

RE: [BUG] Fusion MPT Base Driver initialization failure with kdum p

2005-07-13 Thread Bharata B Rao
On Tue, 2005-07-12 at 12:15 -0600, Moore, Eric Dean wrote: > I've seen the report. I need more info from Bharata on how > to reproduce. Perhaps you can send me email offline which > provides specific instructions to how to configure kdump, > how to capture the dump, and what you did to crash your

RE: [BUG] Fusion MPT Base Driver initialization failure with kdum p

2005-07-13 Thread Bharata B Rao
On Tue, 2005-07-12 at 12:15 -0600, Moore, Eric Dean wrote: I've seen the report. I need more info from Bharata on how to reproduce. Perhaps you can send me email offline which provides specific instructions to how to configure kdump, how to capture the dump, and what you did to crash your

[BUG] Fusion MPT Base Driver initialization failure with kdump

2005-07-12 Thread Bharata B Rao
Fusion MPT base driver fails during initialization when kdump capture kernel boots. The details of the problem are reported here: http://bugzilla.kernel.org/show_bug.cgi?id=4870 Regards, Bharata. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

[BUG] Fusion MPT Base Driver initialization failure with kdump

2005-07-12 Thread Bharata B Rao
Fusion MPT base driver fails during initialization when kdump capture kernel boots. The details of the problem are reported here: http://bugzilla.kernel.org/show_bug.cgi?id=4870 Regards, Bharata. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

[RFC][PATCH] Debug Register Allocation on x86

2001-04-03 Thread Bharata B . Rao
ttp://oss.sgi.com/projects/kdb/ Regards Bharata B. Rao. IBM Dynamic Probes Team diff -urN linux-2.4.2/arch/i386/config.in linux-2.4.2+dr/arch/i386/config.in --- linux-2.4.2/arch/i386/config.in Tue Jan 9 02:57:56 2001 +++ linux-2.4.2+dr/arch/i386/config.in Tue Apr 3 15:56:17 2001 @@ -3

[RFC][PATCH] Debug Register Allocation on x86

2001-04-03 Thread Bharata B . Rao
ttp://oss.sgi.com/projects/kdb/ Regards Bharata B. Rao. IBM Dynamic Probes Team diff -urN linux-2.4.2/arch/i386/config.in linux-2.4.2+dr/arch/i386/config.in --- linux-2.4.2/arch/i386/config.in Tue Jan 9 02:57:56 2001 +++ linux-2.4.2+dr/arch/i386/config.in Tue Apr 3 15:56:17 2001 @@ -3

<    1   2   3