>From Malahal <mala...@gmail.com>:

Malahal has uploaded this change for review. ( 
https://review.gerrithub.io/365479


Change subject: gpfs: Fix upcall using an export that could go away
......................................................................

gpfs: Fix upcall using an export that could go away

Some of the upcall processing procedures require a valid export in
op_ctx. Currently we set it to first export and removal of such an
export could cause accessing invalid memory.

Upcall processing is done under upvector mutex to avoid an export going
away. Upcall thread now uses setup_up_vector to select a valid export
from the file system's list of exports.

Also re-organized gpfs_claim_filesystem() to avoid creating file system
upcall thread before the export is put into on_exports map list.

Change-Id: I2ccb78c2ddf5c2f43ced15ecf13add5e410b37cd
Signed-off-by: Malahal Naineni <mala...@us.ibm.com>
---
M src/FSAL/FSAL_GPFS/export.c
M src/FSAL/FSAL_GPFS/fsal_up.c
M src/FSAL/FSAL_GPFS/gpfs_methods.h
3 files changed, 107 insertions(+), 55 deletions(-)



  git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha 
refs/changes/79/365479/1
-- 
To view, visit https://review.gerrithub.io/365479
To unsubscribe, visit https://review.gerrithub.io/settings

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2ccb78c2ddf5c2f43ced15ecf13add5e410b37cd
Gerrit-Change-Number: 365479
Gerrit-PatchSet: 1
Gerrit-Owner: Malahal <mala...@gmail.com>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to