Re: [Nfs-ganesha-devel] multi fd support

2016-08-19 Thread Marc Eshel
READ_MUTEX_unlock(&state->state_mutex); PTHREAD_RWLOCK_unlock(&export->lock); put_gsh_export(export); From: Marc Eshel/Almaden/IBM@IBMUS To: "Frank Filz" Cc: nfs-ganesha-devel@lists.sourceforge.net Date: 08/18/2016 09:21 AM Subject:Re: [Nfs-ganesha-devel] multi fd

Re: [Nfs-ganesha-devel] multi fd support

2016-08-18 Thread Marc Eshel
Using NFSv4 I get read lock on the same file from two different NFS clients. The server get the two locks using the two different owners (state), when I unlock the lock on one client that results in closing the file I get fsal_close() with no owner id so I am forced to release all locks which i

Re: [Nfs-ganesha-devel] multi fd support

2016-08-17 Thread Frank Filz
> Hi Frank, > Don't we need fsal_close() to call close2() ? > We need the owner so we can release only the locks for this fd before > closing it. > Marc. With support_ex enabled, fsal_close is only called when the fsal_obj_handle is being disposed of or when the LRU thread is closing open file des

[Nfs-ganesha-devel] multi fd support

2016-08-17 Thread Marc Eshel
Hi Frank, Don't we need fsal_close() to call close2() ? We need the owner so we can release only the locks for this fd before closing it. Marc. -- ___ Nfs-ganesha-devel mailing

Re: [Nfs-ganesha-devel] multi-fd

2016-07-25 Thread Frank Filz
VFS, XFS, CEPH, and GLUSTER XFS was a few lines beyond VFS VFS will be most useful to you though CEPH has an owner parameter to locks that gives some similarity to GPFS. Frank Sent from my iPhone > On Jul 25, 2016, at 5:22 PM, Marc Eshel wrote: > > Do we have an FSAL that implemented mult

Re: [Nfs-ganesha-devel] multi-fd

2016-07-25 Thread Matt W. Benjamin
VFS? Matt - "Marc Eshel" wrote: > Do we have an FSAL that implemented multi-fd ? > > > > From: "Frank Filz" > To: Marc Eshel/Almaden/IBM@IBMUS > Cc: > Date: 07/25/2016 04:10 PM > Subject:RE: multi-fd > > > > > Why do we have reopen2 as one of the multi-fd support

Re: [Nfs-ganesha-devel] multi-fd

2016-07-25 Thread Marc Eshel
Do we have an FSAL that implemented multi-fd ? From: "Frank Filz" To: Marc Eshel/Almaden/IBM@IBMUS Cc: Date: 07/25/2016 04:10 PM Subject:RE: multi-fd > Why do we have reopen2 as one of the multi-fd support, I thought that one > of the resones for multi fd is so we don't

Re: [Nfs-ganesha-devel] multi-fd

2016-07-25 Thread Frank Filz
> Why do we have reopen2 as one of the multi-fd support, I thought that one > of the resones for multi fd is so we don't have to reopen files when we get > differnet/conflicting open options. Reopen2 is for open upgrade/downgrade. Frank --- This email has been checked for viruses by Avast antiv

[Nfs-ganesha-devel] multi-fd

2016-07-25 Thread Marc Eshel
Hi Frank, Why do we have reopen2 as one of the multi-fd support, I thought that one of the reasons for multi fd is so we don't have to reopen files when we get different/conflicting open options. Do we have an FSAL that implemented multi-fd? Marc.