fuse: avoid unnecessary spinlock bump
authorJeffle Xu <jefflexu@linux.alibaba.com>
Sat, 2 Apr 2022 10:32:50 +0000 (18:32 +0800)
committerMiklos Szeredi <mszeredi@redhat.com>
Thu, 21 Jul 2022 14:02:45 +0000 (16:02 +0200)
commit47e301491c4f52ca744c7660cf57492b902261f6
tree0c1a09487ed1591cb6d0fb1579179139f4ad4b8f
parent2fdbb8dd01556e1501132b5ad3826e8f71e24a8b
fuse: avoid unnecessary spinlock bump

Move dmap free worker kicker inside the critical region, so that extra
spinlock lock/unlock could be avoided.

Suggested-by: Liu Jiang <gerry@linux.alibaba.com>
Signed-off-by: Jeffle Xu <jefflexu@linux.alibaba.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/dax.c