summaryrefslogtreecommitdiff
path: root/fs/fuse/fuse_i.h
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-08-27 18:29:37 +0300
committerMiklos Szeredi <mszeredi@redhat.com>2018-09-28 16:43:22 +0200
commit2b30a533148af4f3865c0dcd619ad93ab3f4ba52 (patch)
treefd25fe80e8ff83649d05d6eda7328447909ba628 /fs/fuse/fuse_i.h
parent2a23f2b8adbe4bd584f936f7ac17a99750eed9d7 (diff)
fuse: add locking to max_background and congestion_threshold changes
Functions sequences like request_end()->flush_bg_queue() require that max_background and congestion_threshold are constant during their execution. Otherwise, checks like if (fc->num_background == fc->max_background) made in different time may behave not like expected. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/fuse/fuse_i.h')
0 files changed, 0 insertions, 0 deletions