aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fuse/fuse_i.h
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2006-01-17 01:14:31 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-17 02:15:30 -0500
commitd77a1d5b611742c538364f041ff4610d27b14fe7 (patch)
treec18cf2c112ad17e07a3e0d0459c55f04b257e3e3 /fs/fuse/fuse_i.h
parent83cfd4935124b165e942c317dc3e9ebb0a3e6a63 (diff)
[PATCH] fuse: introduce list for requests under I/O
Create a new list for requests in the process of being transfered to/from userspace. This will be needed to be able to abort all requests even those currently under I/O Signed-off-by: Miklos Szeredi <miklos@szeredi.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/fuse/fuse_i.h')
-rw-r--r--fs/fuse/fuse_i.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h
index 8cc87ebeed2e..5742253164d9 100644
--- a/fs/fuse/fuse_i.h
+++ b/fs/fuse/fuse_i.h
@@ -124,8 +124,8 @@ enum fuse_req_state {
124 * A request to the client 124 * A request to the client
125 */ 125 */
126struct fuse_req { 126struct fuse_req {
127 /** This can be on either unused_list, pending or processing 127 /** This can be on either unused_list, pending processing or
128 lists in fuse_conn */ 128 io lists in fuse_conn */
129 struct list_head list; 129 struct list_head list;
130 130
131 /** Entry on the background list */ 131 /** Entry on the background list */
@@ -223,6 +223,9 @@ struct fuse_conn {
223 /** The list of requests being processed */ 223 /** The list of requests being processed */
224 struct list_head processing; 224 struct list_head processing;
225 225
226 /** The list of requests under I/O */
227 struct list_head io;
228
226 /** Requests put in the background (RELEASE or any other 229 /** Requests put in the background (RELEASE or any other
227 interrupted request) */ 230 interrupted request) */
228 struct list_head background; 231 struct list_head background;