Jeff Layton has uploaded this change for review.

View Change

Have threads register and unregister with RCU

If you want to use rcu-critical sections, then you must register your
threads with RCU on creation. Since it's often difficult to predict
which threads may end up running a particular callback, ensure that we
register all threads that ganesha creates with RCU.

Change-Id: Ie9b027cfe12e5ec6e95b13c1b3090ca6be5047e2
Signed-off-by: Jeff Layton <jlayton@redhat.com>
---
M src/FSAL/FSAL_GLUSTER/fsal_up.c
M src/FSAL/FSAL_GPFS/fsal_up.c
M src/FSAL/FSAL_PROXY/handle.c
M src/FSAL/FSAL_VFS/panfs/mds.c
M src/MainNFSD/9p_dispatcher.c
M src/MainNFSD/9p_rdma_dispatcher.c
M src/MainNFSD/nfs_admin_thread.c
M src/MainNFSD/nfs_init.c
M src/dbus/dbus_server.c
M src/support/delayed_exec.c
M src/support/fridgethr.c
11 files changed, 61 insertions(+), 20 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/24/432324/1

To view, visit change 432324. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie9b027cfe12e5ec6e95b13c1b3090ca6be5047e2
Gerrit-Change-Number: 432324
Gerrit-PatchSet: 1
Gerrit-Owner: Jeff Layton <jlayton@redhat.com>