>From Swen Schillig <s...@vnet.ibm.com>:

Swen Schillig has uploaded this change for review. ( 
https://review.gerrithub.io/355828


Change subject: [FSAL_GPFS] Fix race between setting/consuming FD on export.
......................................................................

[FSAL_GPFS] Fix race between setting/consuming FD on export.

On export creation, the GPFS fsal_up thread requires the file-descriptor
to be set before being able to update the inode with callback information.
Especially on POWER systems it does happen that the main-thread,
which is setting the FD, is only able to do this after the fsal_up thread
has tried to do this a few times with an unset(invalid) FD.
Therefore, the FD is now set within the fsal_up thread before
triggering the inode update.

Change-Id: I847af6e0642c91d4e3cd87b6b74bb3c68c8e039b
Signed-off-by: Swen Schillig <s...@vnet.ibm.com>
---
M src/FSAL/FSAL_GPFS/export.c
M src/FSAL/FSAL_GPFS/fsal_up.c
2 files changed, 19 insertions(+), 23 deletions(-)



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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I847af6e0642c91d4e3cd87b6b74bb3c68c8e039b
Gerrit-Change-Number: 355828
Gerrit-PatchSet: 1
Gerrit-Owner: Swen Schillig <s...@vnet.ibm.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