summaryrefslogtreecommitdiffstats
path: root/fs/fuse/fuse_i.h
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2015-07-01 16:26:04 +0200
committerMiklos Szeredi <mszeredi@suse.cz>2015-07-01 16:26:04 +0200
commit3a2b5b9cd9610f789f5e5f91a010d9fa3ca78632 (patch)
tree1dda09ba5acc30e2128b1231c01186eaa2dcaaa5 /fs/fuse/fuse_i.h
parent5250921bb0b25e7fc77ba732e569224410743a05 (diff)
fuse: separate out processing queue
This is just two fields: fc->io and fc->processing. This patch just rearranges the fields, no functional change. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Reviewed-by: Ashish Samant <ashish.samant@oracle.com>
Diffstat (limited to 'fs/fuse/fuse_i.h')
-rw-r--r--fs/fuse/fuse_i.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h
index e8be4611fb8e..3620eec018a4 100644
--- a/fs/fuse/fuse_i.h
+++ b/fs/fuse/fuse_i.h
@@ -401,6 +401,14 @@ struct fuse_iqueue {
struct fasync_struct *fasync;
};
+struct fuse_pqueue {
+ /** The list of requests being processed */
+ struct list_head processing;
+
+ /** The list of requests under I/O */
+ struct list_head io;
+};
+
/**
* A Fuse connection.
*
@@ -435,11 +443,8 @@ struct fuse_conn {
/** Input queue */
struct fuse_iqueue iq;
- /** The list of requests being processed */
- struct list_head processing;
-
- /** The list of requests under I/O */
- struct list_head io;
+ /** Processing queue */
+ struct fuse_pqueue pq;
/** The next unique kernel file handle */
u64 khctr;