]> git.baikalelectronics.ru Git - kernel.git/commit
fuse: account as waiting before queuing for background
authorMiklos Szeredi <mszeredi@suse.cz>
Wed, 1 Jul 2015 14:25:56 +0000 (16:25 +0200)
committerMiklos Szeredi <mszeredi@suse.cz>
Wed, 1 Jul 2015 14:25:56 +0000 (16:25 +0200)
commit1d6069bd04344c66ba8a222d6b9010b51c000aeb
tree8b470061581fd912bce1a8996f6fa433ff24a671
parentf744c78ba1c5f73de847adf1cf0a7a78c6107d1a
fuse: account as waiting before queuing for background

Move accounting of fc->num_waiting to the point where the request actually
starts waiting.  This is earlier than the current queue_request() for
background requests, since they might be waiting on the fc->bg_queue before
being queued on fc->pending.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Reviewed-by: Ashish Samant <ashish.samant@oracle.com>
fs/fuse/dev.c