android_kernel_xiaomi_sm8350/fs/9p
Eric Van Hensbergen 46f6dac259 [PATCH] v9fs: simplify fid mapping
v9fs has been plagued by an over-complicated approach trying to map Linux
dentry semantics to Plan 9 fid semantics.  Our previous approach called for
aggressive flushing of the dcache resulting in several problems (including
wierd cwd behavior when running /bin/pwd).

This patch dramatically simplifies our handling of this fid management.  Fids
will not be clunked as promptly, but the new approach is more functionally
correct.  We now clunk un-open fids only when their dentry ref_count reaches 0
(and d_delete is called).

Another simplification is we no longer seek to match fids to the process-id or
uid of the action initiator.  The uid-matching will need to be revisited when
we fix the security model.

Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-02 08:33:07 -08:00
..
9p.c [PATCH] v9fs: handle kthread_create failure, minor bugfixes 2006-01-08 20:14:06 -08:00
9p.h [PATCH] v9fs: handle kthread_create failure, minor bugfixes 2006-01-08 20:14:06 -08:00
conv.c [PATCH] v9fs: v9fs_put_str fix 2006-02-03 08:32:06 -08:00
conv.h [PATCH] v9fs: zero copy implementation 2006-01-08 20:14:06 -08:00
debug.h [PATCH] v9fs: zero copy implementation 2006-01-08 20:14:06 -08:00
error.c [PATCH] v9fs: zero copy implementation 2006-01-08 20:14:06 -08:00
error.h [PATCH] v9fs: handle kthread_create failure, minor bugfixes 2006-01-08 20:14:06 -08:00
fid.c [PATCH] v9fs: simplify fid mapping 2006-03-02 08:33:07 -08:00
fid.h [PATCH] v9fs: simplify fid mapping 2006-03-02 08:33:07 -08:00
Makefile [PATCH] v9fs: add readpage support 2006-01-18 19:20:22 -08:00
mux.c [PATCH] v9fs: fix corner cases when flushing request 2006-02-03 08:32:06 -08:00
mux.h [PATCH] v9fs: handle kthread_create failure, minor bugfixes 2006-01-08 20:14:06 -08:00
trans_fd.c [PATCH] v9fs: new multiplexer implementation 2006-01-08 20:14:05 -08:00
trans_sock.c [PATCH] v9fs: zero copy implementation 2006-01-08 20:14:06 -08:00
transport.h [PATCH] v9fs: new multiplexer implementation 2006-01-08 20:14:05 -08:00
v9fs_vfs.h [PATCH] v9fs: fix atomic create open 2006-03-02 08:33:07 -08:00
v9fs.c [PATCH] v9fs: simplify fid mapping 2006-03-02 08:33:07 -08:00
v9fs.h [PATCH] v9fs: new multiplexer implementation 2006-01-08 20:14:05 -08:00
vfs_addr.c [PATCH] v9fs: add readpage support 2006-01-18 19:20:22 -08:00
vfs_dentry.c [PATCH] v9fs: simplify fid mapping 2006-03-02 08:33:07 -08:00
vfs_dir.c [PATCH] v9fs: zero copy implementation 2006-01-08 20:14:06 -08:00
vfs_file.c [PATCH] v9fs: fix atomic create open 2006-03-02 08:33:07 -08:00
vfs_inode.c [PATCH] v9fs: fix atomic create open 2006-03-02 08:33:07 -08:00
vfs_super.c [PATCH] v9fs: fix bug in atomic create open fix 2006-03-02 08:33:07 -08:00