lkml.org 
[lkml]   [2008]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCHSET] FUSE: extend FUSE to support more operations, take #2
Date

Hello, all.

This patchset is the second take of extend-FUSE patchset. Changes
from the last take[L] are...

* add-include-protectors and implement-nonseekable-open already merged
and thus dropped from this patchset.

* pass-nonblock-flag-to-client dropped in favor of fi.flags &
O_NONBLOCK test.

* FUSE_MINOR moved to miscdevice.h

* ioctl support updated to include restricted mode where only well
formed ioctls are supported and no retry is necesary or allowed.
All FUSE servers are forced to use restricted mode ioctl.

* Per file unique kernel handle, fuse_file->kh, is added and used to
match poll notification to its file. This lifts the requirement
that the FUSE server should supply unique fh to make use of poll.

* Other small fixes and updated to the current tree.

This patchset contains the following five patches.

0001-fuse-move-FUSE_MINOR-to-miscdevice.h
0002-FUSE-implement-ioctl-support
0003-FUSE-add-file-kernel-handle
0004-FUSE-implement-unsolicited-notification
0005-FUSE-implement-poll-support

and is on top of

master (ee2f6cc7f9ea2542ad46070ed62ba7aa04d08871)
+ [1] poll-allow-f_op_poll-to-sleep-take-2
+ [2] add-cdev_release-and-convert-cdev_alloc-to-use-it

This patchset is also available in the following git tree.

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

Combined diffstat follows.

fs/fuse/dev.c | 49 +++++
fs/fuse/dir.c | 2
fs/fuse/file.c | 416 ++++++++++++++++++++++++++++++++++++++++++++-
fs/fuse/fuse_i.h | 28 ++-
fs/fuse/inode.c | 2
include/linux/fuse.h | 64 ++++++
include/linux/miscdevice.h | 42 ++--
7 files changed, 573 insertions(+), 30 deletions(-)

--
tejun

[L] http://thread.gmane.org/gmane.linux.kernel/727161
[1] http://lkml.org/lkml/2008/11/20/161
[2] http://article.gmane.org/gmane.linux.kernel/727133


\
 
 \ /
  Last update: 2008-11-20 15:15    [W:0.085 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site