• Kirill Tkhai's avatar
    fuse: introduce fc->bg_lock · ae2dffa3
    Kirill Tkhai authored
    To reduce contention of fc->lock, this patch introduces bg_lock for
    protection of fields related to background queue. These are:
    max_background, congestion_threshold, num_background, active_background,
    bg_queue and blocked.
    
    This allows next patch to make async reads not requiring fc->lock, so async
    reads and writes will have better performance executed in parallel.
    Signed-off-by: default avatarKirill Tkhai <ktkhai@virtuozzo.com>
    Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
    ae2dffa3
control.c 8.52 KB