diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2015-07-01 14:26:04 (GMT) |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2015-07-01 14:26:04 (GMT) |
commit | 3a2b5b9cd9610f789f5e5f91a010d9fa3ca78632 (patch) | |
tree | 1dda09ba5acc30e2128b1231c01186eaa2dcaaa5 /fs/fuse/fuse_i.h | |
parent | 5250921bb0b25e7fc77ba732e569224410743a05 (diff) | |
download | linux-3a2b5b9cd9610f789f5e5f91a010d9fa3ca78632.tar.xz |
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.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h index e8be4611..3620eec 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; |