commit | 5437f2417225dc89c785867f4790012668006abc | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@suse.cz> | Wed Jul 01 16:25:56 2015 +0200 |
committer | Miklos Szeredi <mszeredi@suse.cz> | Wed Jul 01 16:25:56 2015 +0200 |
tree | 8b470061581fd912bce1a8996f6fa433ff24a671 | |
parent | 73e0e738441b26a2dfc1ccdf1462cd1dc13c8cea [diff] |
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>