diff options
author | Latchesar Ionkov | 2006-01-08 10:04:58 +0100 |
---|---|---|
committer | Linus Torvalds | 2006-01-09 05:14:05 +0100 |
commit | 3cf6429a26da5c4d7b795e6d0f8f56ed2e4fdfc0 (patch) | |
tree | a8d856763fd9a0536519634c93ab92da684107fa /fs/9p/transport.h | |
parent | [PATCH] v9fs: fix fd_close (diff) | |
download | kernel-qcow2-linux-3cf6429a26da5c4d7b795e6d0f8f56ed2e4fdfc0.tar.gz kernel-qcow2-linux-3cf6429a26da5c4d7b795e6d0f8f56ed2e4fdfc0.tar.xz kernel-qcow2-linux-3cf6429a26da5c4d7b795e6d0f8f56ed2e4fdfc0.zip |
[PATCH] v9fs: new multiplexer implementation
New multiplexer implementation. Decreases the number of kernel threads
required. Better handling when the user process receives a signal.
Signed-off-by: Latchesar Ionkov <lucho@ionkov.net>
Cc: Eric Van Hensbergen <ericvh@ericvh.myip.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/9p/transport.h')
-rw-r--r-- | fs/9p/transport.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/9p/transport.h b/fs/9p/transport.h index 9e9cd418efd5..91fcdb94b361 100644 --- a/fs/9p/transport.h +++ b/fs/9p/transport.h @@ -3,6 +3,7 @@ * * Transport Definition * + * Copyright (C) 2005 by Latchesar Ionkov <lucho@ionkov.net> * Copyright (C) 2004 by Eric Van Hensbergen <ericvh@gmail.com> * * This program is free software; you can redistribute it and/or modify @@ -31,14 +32,13 @@ enum v9fs_transport_status { struct v9fs_transport { enum v9fs_transport_status status; - struct semaphore writelock; - struct semaphore readlock; void *priv; int (*init) (struct v9fs_session_info *, const char *, char *); int (*write) (struct v9fs_transport *, void *, int); int (*read) (struct v9fs_transport *, void *, int); void (*close) (struct v9fs_transport *); + unsigned int (*poll)(struct v9fs_transport *, struct poll_table_struct *); }; extern struct v9fs_transport v9fs_trans_tcp; |