fuse: skip blocking on allocations of synchronous requests
authorMaxim Patlasov <mpatlasov@parallels.com>
Thu, 21 Mar 2013 14:02:28 +0000 (18:02 +0400)
committerMiklos Szeredi <mszeredi@suse.cz>
Wed, 17 Apr 2013 10:31:45 +0000 (12:31 +0200)
commit0aada88476a33690c9569b094191ce92a38e6541
tree4aef3365654d4751154dc825731af721661fcef2
parent796523fb24028639c007f71e02ca21730f7c0af6
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>
fs/fuse/cuse.c
fs/fuse/dev.c
fs/fuse/inode.c