Re: [Nfs-ganesha-devel] Known limitations of FSAL Ceph

2017-08-29 Thread Ramana Raja
Thanks for raising this. I've created a Ceph tracker ticket for now,
http://tracker.ceph.com/issues/21172

Documentation on NFS-Ganesha/CephFS integration is missing.

-Ramana

On Tue, Aug 29, 2017 at 6:04 PM, Daniel Gryniewicz  wrote:
> 
> Not that I'm aware of.  Matt (on the RGW team) wrote that, and as far as
> I know, no one from the CephFS team has written a similar document.
> 
> Daniel
> 
> On 08/29/2017 02:27 AM, Supriti Singh wrote:
> > Hello,
> > 
> > For FSAL RGW,
> > https://github.com/ceph/ceph/blob/master/doc/radosgw/nfs.rst#supported-operations
> > this list down the operations that are not supported with FSAL RGW
> > currently.
> > 
> > Is there a similar list for FSAL Ceph as well?
> > 
> > Thanks,
> > Supriti
> > 
> > --
> > Supriti Singh
> > SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton,
> > HRB 21284 (AG Nürnberg)
> > 
> > 
> > 
> > --
> > 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
> > 
> 
> 
> --
> 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
> 

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


[Nfs-ganesha-devel] Unable to find epoll_create

2017-08-29 Thread Sachin Punadikar
Hi All,
While preparing to build latest version of Ganesha 2.6, I am facing below
errors:
-- Looking for include file sys/epoll.h
-- Looking for include file sys/epoll.h - found
-- Looking for epoll_create
-- Looking for epoll_create - not found
CMake Error at cmake/modules/FindPackageHandleStandardArgs.cmake:109
(message):
  Could NOT find EPOLL (missing: EPOLL_FUNC)
Call Stack (most recent call first):
  cmake/modules/FindPackageHandleStandardArgs.cmake:317
(_FPHSA_FAILURE_MESSAGE)
  cmake/modules/FindEPOLL.cmake:21 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  libntirpc/CMakeLists.txt:118 (find_package)


-- Configuring incomplete, errors occurred!

The command I used is as below:
cmake ../src -DBUILD_CONFIG=rpmbuild -DCMAKE_BUILD_TYPE=Release
-DUSE_FSAL_GPFS=ON -DUSE_ADMIN_TOOLS=ON -DUSE_GUI_ADMIN_TOOLS=OFF
-DUSE_DBUS=ON -D_MSPAC_SUPPORT=ON

Let me know what config changes I need to do.
-- 
with regards,
Sachin Punadikar
--
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


[Nfs-ganesha-devel] Change in ffilz/nfs-ganesha[next]: [GPFS] valgrind: Initialize statically allocated memory.

2017-08-29 Thread GerritHub
>From Swen Schillig :

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


Change subject: [GPFS] valgrind: Initialize statically allocated memory.
..

[GPFS] valgrind: Initialize statically allocated memory.

Valgrind indicated some memory being used uninitialized
for conditional jump or move.

Change-Id: Ib99c95dab8beb6a91e9b786f9e7a064a58c4c883
Signed-off-by: Swen Schillig 
---
M src/FSAL/FSAL_GPFS/file.c
M src/FSAL/FSAL_GPFS/fsal_attrs.c
M src/FSAL/FSAL_GPFS/handle.c
3 files changed, 6 insertions(+), 3 deletions(-)



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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib99c95dab8beb6a91e9b786f9e7a064a58c4c883
Gerrit-Change-Number: 376169
Gerrit-PatchSet: 1
Gerrit-Owner: Swen Schillig 
--
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


Re: [Nfs-ganesha-devel] NFSv4 delegation in Ganesha

2017-08-29 Thread Jeff Layton
On Tue, 2017-08-29 at 13:20 +0530, Soumya Koduri wrote:
> Hi All,
> 
> I have fixed earlier delegation code-path to an extent and pushed the 
> patches to gerrit [1] now. Please take a look and let me know if there 
> is anything missing or not right.
> 
> The code needs a lot of cleanup but from my initial tests I could see 
> READ/WRITE delegations being granted and recalled from Ganesha SAL 
> layer. The delegation state reclaim during OPEN and recall support from 
> back-end glusterFS via upcall work is still pending.
> 
> Thanks,
> Soumya
> 
> [1] 
> https://review.gerrithub.io/#/q/topic:DelegSupport+(status:open+OR+status:merged)
> 

Thanks Soumya,

I've been plugging away at the same thing:

https://github.com/jtlayton/nfs-ganesha/commits/deleg

I respun your patch to add lease_op2, and added some code to wire up
ganesha to the new delegation facility in libcephfs that I've been
working on. I've been able to coax ganesha to hand out delegations with
the above set + an appropriate config file. That part has been fairly
straightforward so far.

The difficult part here is handling recalls. My first attempt at it in
the branch above is wrong, I think, so I'm looking more closely today at
the up_ops stuff (spoiler -- it's quite complicated with the layered
FSAL approach).
-- 
Jeff Layton 

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


Re: [Nfs-ganesha-devel] Known limitations of FSAL Ceph

2017-08-29 Thread Daniel Gryniewicz
Not that I'm aware of.  Matt (on the RGW team) wrote that, and as far as 
I know, no one from the CephFS team has written a similar document.


Daniel

On 08/29/2017 02:27 AM, Supriti Singh wrote:

Hello,

For FSAL RGW, 
https://github.com/ceph/ceph/blob/master/doc/radosgw/nfs.rst#supported-operations 
this list down the operations that are not supported with FSAL RGW 
currently.


Is there a similar list for FSAL Ceph as well?

Thanks,
Supriti

--
Supriti Singh
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton,
HRB 21284 (AG Nürnberg)



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




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


[Nfs-ganesha-devel] Change in ffilz/nfs-ganesha[next]: DelegWIP: Set op_ctx during deleg recall/revoke

2017-08-29 Thread GerritHub
>From Soumya :

Soumya has uploaded this change for review. ( https://review.gerrithub.io/376083


Change subject: DelegWIP: Set op_ctx during deleg recall/revoke
..

DelegWIP: Set op_ctx during deleg recall/revoke

Change-Id: I435767e0774eb0a84c6ae333ff877788bc0dfcee
Signed-off-by: Soumya Koduri 
---
M src/FSAL_UP/fsal_up_top.c
M src/MainNFSD/nfs_worker_thread.c
M src/SAL/nfs4_state.c
3 files changed, 65 insertions(+), 11 deletions(-)



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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I435767e0774eb0a84c6ae333ff877788bc0dfcee
Gerrit-Change-Number: 376083
Gerrit-PatchSet: 1
Gerrit-Owner: Soumya 
--
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


[Nfs-ganesha-devel] Change in ffilz/nfs-ganesha[next]: DelegWIP/FSAL_GLUSTER: restore creds from the saved open_fd

2017-08-29 Thread GerritHub
>From Soumya :

Soumya has uploaded this change for review. ( https://review.gerrithub.io/376082


Change subject: DelegWIP/FSAL_GLUSTER: restore creds from the saved open_fd
..

DelegWIP/FSAL_GLUSTER: restore creds from the saved open_fd

Not all the time op_ctx shall be set, for eg., while
revoking state if clientid is expired. Hence read
the creds/lease_id from the fd used to open the file

Change-Id: I6aaeea504cde2fb30285ef843591a759483c6592
Signed-off-by: Soumya Koduri 
---
M src/FSAL/FSAL_GLUSTER/handle.c
1 file changed, 32 insertions(+), 32 deletions(-)



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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6aaeea504cde2fb30285ef843591a759483c6592
Gerrit-Change-Number: 376082
Gerrit-PatchSet: 1
Gerrit-Owner: Soumya 
--
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


[Nfs-ganesha-devel] Change in ffilz/nfs-ganesha[next]: DelegWIP: Identify conflict based on deleg type

2017-08-29 Thread GerritHub
>From Soumya :

Soumya has uploaded this change for review. ( https://review.gerrithub.io/376079


Change subject: DelegWIP: Identify conflict based on deleg type
..

DelegWIP: Identify conflict based on deleg type

Since its FSAL which maintains open share state of the file,
move the deleg conflict check during OPEN to FSAL.

Change-Id: I4fa6cc1efe14a9d8716368873ce868cbf5b014e9
Signed-off-by: Soumya Koduri 
---
M src/SAL/state_deleg.c
1 file changed, 8 insertions(+), 18 deletions(-)



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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4fa6cc1efe14a9d8716368873ce868cbf5b014e9
Gerrit-Change-Number: 376079
Gerrit-PatchSet: 1
Gerrit-Owner: Soumya 
--
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


[Nfs-ganesha-devel] Change in ffilz/nfs-ganesha[next]: DelegWIP/core: Add new lease_op2()

2017-08-29 Thread GerritHub
>From Soumya :

Soumya has uploaded this change for review. ( https://review.gerrithub.io/376077


Change subject: DelegWIP/core: Add new lease_op2()
..

DelegWIP/core: Add new lease_op2()

Instead of using lock_op2() for leases, add new fop
exclusively for leases/delegations

Change-Id: Id80c4784297101efb46c79b59a3f1beba83feccb
Signed-off-by: Soumya Koduri 
---
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_file.c
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_handle.c
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/mdcache_int.h
M src/FSAL/default_methods.c
M src/SAL/state_deleg.c
M src/include/fsal_api.h
M src/include/fsal_types.h
7 files changed, 118 insertions(+), 36 deletions(-)



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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id80c4784297101efb46c79b59a3f1beba83feccb
Gerrit-Change-Number: 376077
Gerrit-PatchSet: 1
Gerrit-Owner: Soumya 
--
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


[Nfs-ganesha-devel] Change in ffilz/nfs-ganesha[next]: DelegWIP/FSAL_GLUSTER: Support new lease fop

2017-08-29 Thread GerritHub
>From Soumya :

Soumya has uploaded this change for review. ( https://review.gerrithub.io/376078


Change subject: DelegWIP/FSAL_GLUSTER: Support new lease fop
..

DelegWIP/FSAL_GLUSTER: Support new lease fop

Change-Id: I95fefc2d6cab38aa45a45a4c76bb44530daecbda
Signed-off-by: Soumya Koduri 
---
M src/FSAL/FSAL_GLUSTER/handle.c
M src/FSAL/FSAL_GLUSTER/main.c
2 files changed, 120 insertions(+), 4 deletions(-)



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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I95fefc2d6cab38aa45a45a4c76bb44530daecbda
Gerrit-Change-Number: 376078
Gerrit-PatchSet: 1
Gerrit-Owner: Soumya 
--
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


[Nfs-ganesha-devel] Known limitations of FSAL Ceph

2017-08-29 Thread Supriti Singh
Hello,

For FSAL RGW, 
https://github.com/ceph/ceph/blob/master/doc/radosgw/nfs.rst#supported-operations
 this list down the
operations that are not supported with FSAL RGW currently.

Is there a similar list for FSAL Ceph as well? 

Thanks,
Supriti 

--
Supriti Singh SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham 
Norton,
HRB 21284 (AG Nürnberg)
 




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