LWN.net Logo

FUSE: extend FUSE to support more operations

From:  Tejun Heo <tj@kernel.org>
To:  fuse-devel@lists.sourceforge.net, miklos@szeredi.hu, greg@kroah.com, linux-kernel@vger.kernel.org
Subject:  [PATCHSET] FUSE: extend FUSE to support more operations
Date:  Fri, 29 Aug 2008 02:40:56 +0900
Message-ID:  <1219945263-21074-1-git-send-email-tj@kernel.org>
Archive-link:  Article, Thread

This patchset extends FUSE such that it supports more file operations
and is consisted of the following seven patches.

  0001-FUSE-add-include-protectors.patch
  0002-FUSE-pass-nonblock-flag-to-client.patch
  0003-FUSE-implement-nonseekable-open.patch
  0004-FUSE-implement-direct-lseek-support.patch
  0005-FUSE-implement-ioctl-support.patch
  0006-FUSE-implement-unsolicited-notification.patch
  0007-FUSE-implement-poll-support.patch

The added features will be used primarily for CUSE but can be used by
any FUSE client.  Accompanying libfuse updates 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

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=s...
 git://git.kernel.org/pub/scm/linux/kernel/git/tj/misc.git extend-fuse

and contains the following changes.

 fs/fuse/dev.c        |   49 +++++
 fs/fuse/file.c       |  446 +++++++++++++++++++++++++++++++++++++++++++++++++--
 fs/fuse/fuse_i.h     |   31 +++
 fs/fuse/inode.c      |    5 
 include/linux/fuse.h |   82 +++++++++
 5 files changed, 599 insertions(+), 14 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

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds