[PATCHSET] CUSE: implement CUSE

From: Tejun Heo
Date: Thu Aug 28 2008 - 14:20:43 EST


This patchset implements CUSE - Character device in Userspace. Except
for initialization sequence and creation of character device instead
of a mount, CUSE isn't very different from FUSE.

This patchset is consisted of the following five patches.

0001-FUSE-add-fuse_-prefix-to-several-functions.patch
0002-FUSE-export-symbols-to-be-used-by-CUSE.patch
0003-FUSE-separate-out-fuse_conn_init-from-new_conn.patch
0004-FUSE-add-fuse_conn-release.patch
0005-CUSE-implement-CUSE-Character-device-in-Userspace.patch

0001-0004 prepares FUSE for CUSE addition and 0005 implements CUSE.
Corresponding libfuse changes will be posted separately.

This patchset is on top of...

2.6.27-rc4 (b8e6c91c74e9f0279b7c51048779b3d62da60b88)
+ [1] 9p-use-single-poller patchset
+ [2] wait-kill-is_sync_wait
+ [3] poll-allow-f_op_poll-to-sleep
+ [4] uevent updates (2 patches)
+ [5] char_dev-add-release
+ [6] extend-FUSE patchset

The above three patches allow f_op->poll() to sleep and 0007 depends
on it.

This patchset is available in the following git tree.

http://git.kernel.org/?p=linux/kernel/git/tj/misc.git;a=shortlog;h=cuse
git://git.kernel.org/pub/scm/linux/kernel/git/tj/misc.git cuse

and contains the following changes.

fs/Kconfig | 10
fs/fuse/Makefile | 1
fs/fuse/cuse.c | 634 +++++++++++++++++++++++++++++++++++++++++++++++++++
fs/fuse/dev.c | 32 +-
fs/fuse/dir.c | 34 +-
fs/fuse/file.c | 60 ++--
fs/fuse/fuse_i.h | 46 +++
fs/fuse/inode.c | 143 ++++++-----
include/linux/cuse.h | 40 +++
include/linux/fuse.h | 2
10 files changed, 882 insertions(+), 120 deletions(-)

Thanks.

--
tejun

[1] http://thread.gmane.org/gmane.linux.kernel/726098
[2] http://article.gmane.org/gmane.linux.kernel/726176
[3] http://article.gmane.org/gmane.linux.kernel/726178
[4] http://thread.gmane.org/gmane.linux.kernel/727127
[5] http://article.gmane.org/gmane.linux.kernel/727133
[6] http://thread.gmane.org/gmane.linux.kernel/727161
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/