diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2006-01-16 22:14:31 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-16 23:15:30 -0800 |
commit | d77a1d5b611742c538364f041ff4610d27b14fe7 (patch) | |
tree | c18cf2c112ad17e07a3e0d0459c55f04b257e3e3 /fs/fuse/fuse_i.h | |
parent | 83cfd4935124b165e942c317dc3e9ebb0a3e6a63 (diff) | |
download | kernel_goldelico_gta04-d77a1d5b611742c538364f041ff4610d27b14fe7.zip kernel_goldelico_gta04-d77a1d5b611742c538364f041ff4610d27b14fe7.tar.gz kernel_goldelico_gta04-d77a1d5b611742c538364f041ff4610d27b14fe7.tar.bz2 |
[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.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h index 8cc87eb..5742253 100644 --- a/fs/fuse/fuse_i.h +++ b/fs/fuse/fuse_i.h @@ -124,8 +124,8 @@ enum fuse_req_state { * A request to the client */ struct fuse_req { - /** This can be on either unused_list, pending or processing - lists in fuse_conn */ + /** This can be on either unused_list, pending processing or + io lists in fuse_conn */ struct list_head list; /** Entry on the background list */ @@ -223,6 +223,9 @@ struct fuse_conn { /** The list of requests being processed */ struct list_head processing; + /** The list of requests under I/O */ + struct list_head io; + /** Requests put in the background (RELEASE or any other interrupted request) */ struct list_head background; |