Hello Frank,

Trying to solve my problem with using a NFSv3 client on FSAL_PROXY, I looked at how open_fd_count was managed. I have few newbie questions.

1) fsal_close (src/include/fsal.h)

fsal_close is claiming to deal with both support_ex and old cases but it only call fsal close and no close2 op ? Any explanation ?


2) open2_by_name (src/FSAL/fsal_helper.c)

2.1) Why management of open_fd_count exists only in the "by name" open case ?

2.2) Why we check if we have a valid state after calling fsal open2 before incrementing open_fd_count ?

2.3) Why do we call fsal close after opening the file ?


Best regards,

--
Patrice LUCAS
Ingenieur-Chercheur, CEA-DAM/DSSI/SISR/LA2S
tel : +33 (0)1 69 26 47 86
e-mail : patrice.lu...@cea.fr


------------------------------------------------------------------------------
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