diff options
author | Maxim Patlasov <mpatlasov@parallels.com> | 2013-03-21 18:02:28 +0400 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2013-04-17 12:31:45 +0200 |
commit | 0aada88476a33690c9569b094191ce92a38e6541 (patch) | |
tree | 4aef3365654d4751154dc825731af721661fcef2 /fs/fuse/cuse.c | |
parent | 796523fb24028639c007f71e02ca21730f7c0af6 (diff) | |
download | linux-3.10-0aada88476a33690c9569b094191ce92a38e6541.tar.gz linux-3.10-0aada88476a33690c9569b094191ce92a38e6541.tar.bz2 linux-3.10-0aada88476a33690c9569b094191ce92a38e6541.zip |
fuse: skip blocking on allocations of synchronous requests
A task may have at most one synchronous request allocated. So these
requests need not be otherwise limited.
The patch re-works fuse_get_req() to follow this idea.
Signed-off-by: Maxim Patlasov <mpatlasov@parallels.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'fs/fuse/cuse.c')
-rw-r--r-- | fs/fuse/cuse.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/fuse/cuse.c b/fs/fuse/cuse.c index f563e78852b..c59c097eb2e 100644 --- a/fs/fuse/cuse.c +++ b/fs/fuse/cuse.c @@ -504,7 +504,6 @@ static int cuse_channel_open(struct inode *inode, struct file *file) cc->fc.release = cuse_fc_release; cc->fc.connected = 1; - cc->fc.blocked = 0; cc->fc.initialized = 1; rc = cuse_send_init(cc); if (rc) { |