Commits
Kirill Tkhai authored and Konstantin Khorenko committed eb55312dac3
ms/fuse: Wake up req->waitq of only if not background ms commit 5e0fed717a38 Currently, we wait on req->waitq in request_wait_answer() function only, and it's never used for background requests. Since wake_up() is not a light-weight macros, instead of this, it unfolds in really called function, which makes locking operations taking some cpu cycles, let's avoid its call for the case we definitely know it's completely useless. Signed-off-by: Miklos Szeredi <mszeredi@redhat.com> Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>