]> www.infradead.org Git - users/jedix/linux-maple.git/commit
fuse: modify queues, allocation and locking for multiple nodes
authorAshish Samant <ashish.samant@oracle.com>
Wed, 15 Apr 2015 17:44:47 +0000 (10:44 -0700)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Mon, 29 Jun 2015 15:31:24 +0000 (08:31 -0700)
commit89c950fb7e20515ec77c69f3e45ce9f8405bd814
tree980524c56adfaa0d28de0b015ff9daa2ae7a20b6
parent8e97c3c5ecad68585ca6580cdf6b8a6f11d2ec8e
fuse: modify queues, allocation and locking for multiple nodes

This patch makes provision for creating multiple instances of fuse_node
structure, which can be used in cases where a separate fuse_node has to be
created per numa node. It also introduces a new spinlock fn->lock
to synchronize elements within the fuse_node struct thus reducing contention
on fc->lock.

Signed-off-by: Ashish Samant <ashish.samant@oracle.com>
Reviewed-by: Srinivas Eeda <srinivas.eeda@oracle.com>
fs/fuse/control.c
fs/fuse/cuse.c
fs/fuse/dev.c
fs/fuse/file.c
fs/fuse/fuse_i.h
fs/fuse/inode.c