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>
This commit is contained in:

committed by
Miklos Szeredi

parent
796523fb24
commit
0aada88476
@@ -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) {
|
||||
|
Reference in New Issue
Block a user