]> 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)
commit3450ef917729be3d6cee413c70b3b5a255c622a8
tree8b470061581fd912bce1a8996f6fa433ff24a671
parent7b3c55fc519b9aaff3c65be5475a305b876d650c
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