Re: [Nfs-ganesha-devel] Backport list for 2.5.4

2017-11-02 Thread Daniel Gryniewicz
They're in use in downstream for Ceph, and have been tested by QA, so 
they should be safe.  If we decide we don't want them in 2.5, then 
downstream RHCS will just need to carry them as patches.


Daniel

On 11/02/2017 03:56 AM, Malahal Naineni wrote:
Dan, I remember that we waited for the recovery code (aka IP failover 
code) reorganization patches to go into V2.6 alone. Do they now have 
enough runtime to get merged into V2.5 stable branch?


Regards, Malahal.

On Tue, Oct 31, 2017 at 11:37 PM, Daniel Gryniewicz > wrote:


Here's the set of commits that downstream Ceph needs.  Gluster can
also use the non-Ceph related ones.

Note, these are oldest first, not newest first.

Daniel


commit b862fe360b2a0f1b1d9d5d6a8b91f1550b66b269
Author: Gui Hecheng mailto:guihech...@cmss.chinamobile.com>>
AuthorDate: Thu Mar 30 10:44:25 2017 +0800
Commit: Frank S. Filz mailto:ffilz...@mindspring.com>>
CommitDate: Fri Aug 11 14:31:22 2017 -0700

 SAL: extract fs logic from nfs4_recovery

 This is a prepare patch for modulized recovery backends.
 - define recovery apis: struct nfs_recovery_backend
 - define hooks for recovery_fs module

 Change-Id: I45523ef9a0e6f9a801fc733b095ba2965dd8751b
 Signed-off-by: Gui Hecheng mailto:guihech...@cmss.chinamobile.com>>
commit cb787a1cf4a4df4da672c6b00cb0724db5d99e4d
Author: Gui Hecheng mailto:guihech...@cmss.chinamobile.com>>
AuthorDate: Thu Mar 30 10:50:18 2017 +0800
Commit: Frank S. Filz mailto:ffilz...@mindspring.com>>
CommitDate: Fri Aug 11 14:31:23 2017 -0700

 SAL: introduce new recovery backend based on rados kv store

 Use rados OMAP API to implement a kv store for client tracking data

 Change-Id: I1aec1e110a2fba87ae39a1439818a363b6cfc822
 Signed-off-by: Gui Hecheng mailto:guihech...@cmss.chinamobile.com>>
commit fbc905015d01a7f2548b81d84f35b76524543f13
Author: Gui Hecheng mailto:guihech...@cmss.chinamobile.com>>
AuthorDate: Wed May 3 09:58:34 2017 +0800
Commit: Frank S. Filz mailto:ffilz...@mindspring.com>>
CommitDate: Fri Aug 11 14:31:23 2017 -0700

 cmake: make modulized recovery backends compile as modules

 - add USE_RADOS_RECOV option for new rados kv backend
 - keep original fs backend as default

 Change-Id: I26c2c4f9a433e6cd70f113fa05194d6817b9377a
 Signed-off-by: Gui Hecheng mailto:guihech...@cmss.chinamobile.com>>
commit eb4eea1343251f17fe39de48426bc4363eaef957
Author: Gui Hecheng mailto:guihech...@cmss.chinamobile.com>>
AuthorDate: Thu May 4 22:43:17 2017 +0800
Commit: Frank S. Filz mailto:ffilz...@mindspring.com>>
CommitDate: Fri Aug 11 14:31:23 2017 -0700

 config: add new config options for rados_kv recovery backend

 - new config block: RADOS_KV
 - new option: ceph_conf, userid, pool

 Change-Id: Id44afa70e8b5adb2cb2b9d48a807b0046f604f30
 Signed-off-by: Gui Hecheng mailto:guihech...@cmss.chinamobile.com>>
commit f7a09d87851f64a68c2438fdc09372703bcbebec
Author: Matt Benjamin mailto:mbenja...@redhat.com>>
AuthorDate: Thu Jul 20 15:21:00 2017 -0400
Commit: Frank S. Filz mailto:ffilz...@mindspring.com>>
CommitDate: Thu Aug 17 14:46:29 2017 -0700

 config: add config_url and RADOS url provider

 Provides a mechanism to to load nfs-ganesha config sections (e.g.,
 export blocks) from a generic URL.  Includes a URL provider
 which maps URLs to Ceph RADOS objects.

 Change-Id: I9067eaef2b38a78e9f1a877dfb9eb3c176239e71
 Signed-off-by: Matt Benjamin mailto:mbenja...@redhat.com>>
commit b6ce63479c965c12d2d3417abd1dd082cf0967b8
Author: Matt Benjamin mailto:mbenja...@redhat.com>>
AuthorDate: Fri Sep 22 14:21:46 2017 -0400
Commit: Frank S. Filz mailto:ffilz...@mindspring.com>>
CommitDate: Fri Sep 22 14:06:12 2017 -0700

 rpm spec: add RADOS_URLS

 Change-Id: I60ebd4cb5bc3b3184704b8951a5392ed91846cdd
 Signed-off-by: Matt Benjamin mailto:mbenja...@redhat.com>>
commit 247c4a61cd743e7b3430bb0a9780c3f6d3f73a44
Author: Matt Benjamin mailto:mbenja...@redhat.com>>
AuthorDate: Fri Sep 22 15:38:37 2017 -0400
Commit: Frank S. Filz mailto:ffilz...@mindspring.com>>
CommitDate: Fri Sep 22 14:06:28 2017 -0700

 rados url: handle error from rados_read()

 Change-Id: If437a989ddaea108216c28af99fab6da0f089e01
 Signed-off-by: Matt Benjamin mailto:mbenja...@redhat.com>>
commit d9f0536b7f3cbe6b9b4d0dc5b4e4acd3337d41b5
Author: Jeff Layton mailto:jlay...@redhat.com>>
AuthorDate: Fri Oct 6 14:23:23 2017 -0400
Commit: Frank S. Filz mailto:ffilz...@mindspring.com>>
CommitDate: Fri Oct 6 14:26:45 2017 -0700

 FSAL_CEPH: don't clobber the return code with the getlk call

 If 

Re: [Nfs-ganesha-devel] Backport list for 2.5.4

2017-11-02 Thread Malahal Naineni
Dan, I remember that we waited for the recovery code (aka IP failover code)
reorganization patches to go into V2.6 alone. Do they now have enough
runtime to get merged into V2.5 stable branch?

Regards, Malahal.

On Tue, Oct 31, 2017 at 11:37 PM, Daniel Gryniewicz  wrote:

> Here's the set of commits that downstream Ceph needs.  Gluster can also
> use the non-Ceph related ones.
>
> Note, these are oldest first, not newest first.
>
> Daniel
>
>
> commit b862fe360b2a0f1b1d9d5d6a8b91f1550b66b269
> Author: Gui Hecheng 
> AuthorDate: Thu Mar 30 10:44:25 2017 +0800
> Commit: Frank S. Filz 
> CommitDate: Fri Aug 11 14:31:22 2017 -0700
>
> SAL: extract fs logic from nfs4_recovery
>
> This is a prepare patch for modulized recovery backends.
> - define recovery apis: struct nfs_recovery_backend
> - define hooks for recovery_fs module
>
> Change-Id: I45523ef9a0e6f9a801fc733b095ba2965dd8751b
> Signed-off-by: Gui Hecheng 
> commit cb787a1cf4a4df4da672c6b00cb0724db5d99e4d
> Author: Gui Hecheng 
> AuthorDate: Thu Mar 30 10:50:18 2017 +0800
> Commit: Frank S. Filz 
> CommitDate: Fri Aug 11 14:31:23 2017 -0700
>
> SAL: introduce new recovery backend based on rados kv store
>
> Use rados OMAP API to implement a kv store for client tracking data
>
> Change-Id: I1aec1e110a2fba87ae39a1439818a363b6cfc822
> Signed-off-by: Gui Hecheng 
> commit fbc905015d01a7f2548b81d84f35b76524543f13
> Author: Gui Hecheng 
> AuthorDate: Wed May 3 09:58:34 2017 +0800
> Commit: Frank S. Filz 
> CommitDate: Fri Aug 11 14:31:23 2017 -0700
>
> cmake: make modulized recovery backends compile as modules
>
> - add USE_RADOS_RECOV option for new rados kv backend
> - keep original fs backend as default
>
> Change-Id: I26c2c4f9a433e6cd70f113fa05194d6817b9377a
> Signed-off-by: Gui Hecheng 
> commit eb4eea1343251f17fe39de48426bc4363eaef957
> Author: Gui Hecheng 
> AuthorDate: Thu May 4 22:43:17 2017 +0800
> Commit: Frank S. Filz 
> CommitDate: Fri Aug 11 14:31:23 2017 -0700
>
> config: add new config options for rados_kv recovery backend
>
> - new config block: RADOS_KV
> - new option: ceph_conf, userid, pool
>
> Change-Id: Id44afa70e8b5adb2cb2b9d48a807b0046f604f30
> Signed-off-by: Gui Hecheng 
> commit f7a09d87851f64a68c2438fdc09372703bcbebec
> Author: Matt Benjamin 
> AuthorDate: Thu Jul 20 15:21:00 2017 -0400
> Commit: Frank S. Filz 
> CommitDate: Thu Aug 17 14:46:29 2017 -0700
>
> config: add config_url and RADOS url provider
>
> Provides a mechanism to to load nfs-ganesha config sections (e.g.,
> export blocks) from a generic URL.  Includes a URL provider
> which maps URLs to Ceph RADOS objects.
>
> Change-Id: I9067eaef2b38a78e9f1a877dfb9eb3c176239e71
> Signed-off-by: Matt Benjamin 
> commit b6ce63479c965c12d2d3417abd1dd082cf0967b8
> Author: Matt Benjamin 
> AuthorDate: Fri Sep 22 14:21:46 2017 -0400
> Commit: Frank S. Filz 
> CommitDate: Fri Sep 22 14:06:12 2017 -0700
>
> rpm spec: add RADOS_URLS
>
> Change-Id: I60ebd4cb5bc3b3184704b8951a5392ed91846cdd
> Signed-off-by: Matt Benjamin 
> commit 247c4a61cd743e7b3430bb0a9780c3f6d3f73a44
> Author: Matt Benjamin 
> AuthorDate: Fri Sep 22 15:38:37 2017 -0400
> Commit: Frank S. Filz 
> CommitDate: Fri Sep 22 14:06:28 2017 -0700
>
> rados url: handle error from rados_read()
>
> Change-Id: If437a989ddaea108216c28af99fab6da0f089e01
> Signed-off-by: Matt Benjamin 
> commit d9f0536b7f3cbe6b9b4d0dc5b4e4acd3337d41b5
> Author: Jeff Layton 
> AuthorDate: Fri Oct 6 14:23:23 2017 -0400
> Commit: Frank S. Filz 
> CommitDate: Fri Oct 6 14:26:45 2017 -0700
>
> FSAL_CEPH: don't clobber the return code with the getlk call
>
> If a lock is denied, the code will call getlk to get the conflicting
> lock
> info. That action then clobbers the return code and makes the lock
> appear
> to be a success.
>
> Also, no need to check conflicting_lock twice here.
>
> See: https://github.com/nfs-ganesha/nfs-ganesha/issues/205
>
> Change-Id: Ibfc8ca92bec84518573f425131ce969479ae15dd
> Signed-off-by: Jeff Layton 
> commit 13a2f2dce7aff5cc86bdb96b058cbb4d20898b66
> Author: Matt Benjamin 
> AuthorDate: Thu Oct 19 12:58:27 2017 -0400
> Commit: Frank S. Filz 
> CommitDate: Fri Oct 20 15:31:08 2017 -0700
>
> rgw: it's rados_url_param, dude
>
> Amazingly, a one-character mistake broke parsing of the RADOS_URLS
> config block.
>
> Change-Id: I6a5661a85cf734e5d93f8c03a78d50ac9a854954
> Signed-off-by: Matt Benjamin 
> commit 3571d1af1d7b8cb4e9898ed9f92c09ba8fca2805
> Author: Matt Benjamin 
> AuthorDate: Tue Oct 17 17:24:41 2017 -0400
> Commit: Frank S. Filz 
> CommitDate: Fri Oct 20 15:30:46 2017 -0700
>
> RGW: pass V3 flag to rgw_write() when !state
>
> Needed to permit librgw to simulate opens for NFSv3.
>
> Change-Id: Ia7ba289a5941bd2f68c3ed678a95b9d16cb4fad0
> Signed-off-by: 

Re: [Nfs-ganesha-devel] Backport list for 2.5.4

2017-11-01 Thread Frank Filz


> -Original Message-
> From: Soumya Koduri [mailto:skod...@redhat.com]
> Sent: Wednesday, November 1, 2017 2:02 AM
> To: d...@redhat.com; 'nfs-ganesha-devel'  de...@lists.sourceforge.net>
> Subject: Re: [Nfs-ganesha-devel] Backport list for 2.5.4
> 
> Please include below commits as well -
> 
> 
> commit f5c48022176a656143b28824c2fb913518bd8cc4
> Author: Soumya Koduri 
> Date:   Thu Oct 26 12:22:38 2017 +0530
> 
>  FSAL_GLUSTER: Use the new API to be able to set lkowner
> 
> 
> commit e03420fa445a0dac3e05c11f4718b6120744f1b5
> Author: Kinglong Mee 
> Date:   Thu Oct 26 06:23:58 2017 -0400
> 
>  FSAL_GLUSTER: avoid overwrite the old errno in SET_GLUSTER_CREDS
> 
> commit 80afbd0f9d54682913de09f286664090beb3600d
> Author: Kinglong Mee 
> Date:   Thu Oct 26 06:03:04 2017 -0400
> 
>  FSAL_GLUSTER: use the correct errno after glusterfs error out
> 
> commit 9306c968bc28d57ed4f8a57866fec02290049a4d
> Author: Kinglong Mee 
> Date:   Mon Oct 16 10:55:36 2017 +0800
> 
>  GLUSTER: fix use after free of globalfd in open2

We should include the other open2 fixes...

> and
> 
> https://review.gerrithub.io/385085 - FSAL_GLUSTER: Fix memory leak while
> reading dirents (yet to be merged .. got +2)
> 
> Thanks,
> Soumya
> 
> On 10/31/2017 11:37 PM, Daniel Gryniewicz wrote:
> > Here's the set of commits that downstream Ceph needs.  Gluster can
> > also use the non-Ceph related ones.
> >
> > Note, these are oldest first, not newest first.
> >
> > Daniel
> >
> >
> > commit b862fe360b2a0f1b1d9d5d6a8b91f1550b66b269
> > Author: Gui Hecheng 
> > AuthorDate: Thu Mar 30 10:44:25 2017 +0800
> > Commit: Frank S. Filz 
> > CommitDate: Fri Aug 11 14:31:22 2017 -0700
> >
> >  SAL: extract fs logic from nfs4_recovery
> >
> >  This is a prepare patch for modulized recovery backends.
> >  - define recovery apis: struct nfs_recovery_backend
> >  - define hooks for recovery_fs module
> >
> >  Change-Id: I45523ef9a0e6f9a801fc733b095ba2965dd8751b
> >  Signed-off-by: Gui Hecheng 
> > commit cb787a1cf4a4df4da672c6b00cb0724db5d99e4d
> > Author: Gui Hecheng 
> > AuthorDate: Thu Mar 30 10:50:18 2017 +0800
> > Commit: Frank S. Filz 
> > CommitDate: Fri Aug 11 14:31:23 2017 -0700
> >
> >  SAL: introduce new recovery backend based on rados kv store
> >
> >  Use rados OMAP API to implement a kv store for client tracking
> > data
> >
> >  Change-Id: I1aec1e110a2fba87ae39a1439818a363b6cfc822
> >  Signed-off-by: Gui Hecheng 
> > commit fbc905015d01a7f2548b81d84f35b76524543f13
> > Author: Gui Hecheng 
> > AuthorDate: Wed May 3 09:58:34 2017 +0800
> > Commit: Frank S. Filz 
> > CommitDate: Fri Aug 11 14:31:23 2017 -0700
> >
> >  cmake: make modulized recovery backends compile as modules
> >
> >  - add USE_RADOS_RECOV option for new rados kv backend
> >  - keep original fs backend as default
> >
> >  Change-Id: I26c2c4f9a433e6cd70f113fa05194d6817b9377a
> >  Signed-off-by: Gui Hecheng 
> > commit eb4eea1343251f17fe39de48426bc4363eaef957
> > Author: Gui Hecheng 
> > AuthorDate: Thu May 4 22:43:17 2017 +0800
> > Commit: Frank S. Filz 
> > CommitDate: Fri Aug 11 14:31:23 2017 -0700
> >
> >  config: add new config options for rados_kv recovery backend
> >
> >  - new config block: RADOS_KV
> >  - new option: ceph_conf, userid, pool
> >
> >  Change-Id: Id44afa70e8b5adb2cb2b9d48a807b0046f604f30
> >  Signed-off-by: Gui Hecheng 
> > commit f7a09d87851f64a68c2438fdc09372703bcbebec
> > Author: Matt Benjamin 
> > AuthorDate: Thu Jul 20 15:21:00 2017 -0400
> > Commit: Frank S. Filz 
> > CommitDate: Thu Aug 17 14:46:29 2017 -0700
> >
> >  config: add config_url and RADOS url provider
> >
> >  Provides a mechanism to to load nfs-ganesha config sections (e.g.,
> >  export blocks) from a generic URL.  Includes a URL provider
> >  which maps URLs to Ceph RADOS objects.
> >
> >  Change-Id: I9067eaef2b38a78e9f1a877dfb9eb3c176239e71
> >  Signed-off-by: Matt Benjamin  commit
> > b6ce63479c965c12d2d3417abd1dd082cf0967b8
> > Author: Matt Benjamin 
> > AuthorDate: Fri Sep 22 14:21:46 2017 -0400
> > Commit: Frank S. Filz 
> > CommitDate: Fri Sep 22 14:06:12 2017 -0700
> >
> >  rpm spec: add RADOS_URLS
> >
> >  Change-Id: I60ebd4cb5bc3b3184704b8951a5392ed91846cdd

Re: [Nfs-ganesha-devel] Backport list for 2.5.4

2017-11-01 Thread Soumya Koduri

Please include below commits as well -


commit f5c48022176a656143b28824c2fb913518bd8cc4
Author: Soumya Koduri 
Date:   Thu Oct 26 12:22:38 2017 +0530

FSAL_GLUSTER: Use the new API to be able to set lkowner


commit e03420fa445a0dac3e05c11f4718b6120744f1b5
Author: Kinglong Mee 
Date:   Thu Oct 26 06:23:58 2017 -0400

FSAL_GLUSTER: avoid overwrite the old errno in SET_GLUSTER_CREDS

commit 80afbd0f9d54682913de09f286664090beb3600d
Author: Kinglong Mee 
Date:   Thu Oct 26 06:03:04 2017 -0400

FSAL_GLUSTER: use the correct errno after glusterfs error out

commit 9306c968bc28d57ed4f8a57866fec02290049a4d
Author: Kinglong Mee 
Date:   Mon Oct 16 10:55:36 2017 +0800

GLUSTER: fix use after free of globalfd in open2



and

https://review.gerrithub.io/385085 - FSAL_GLUSTER: Fix memory leak while 
reading dirents

(yet to be merged .. got +2)

Thanks,
Soumya

On 10/31/2017 11:37 PM, Daniel Gryniewicz wrote:
Here's the set of commits that downstream Ceph needs.  Gluster can also 
use the non-Ceph related ones.


Note, these are oldest first, not newest first.

Daniel


commit b862fe360b2a0f1b1d9d5d6a8b91f1550b66b269
Author: Gui Hecheng 
AuthorDate: Thu Mar 30 10:44:25 2017 +0800
Commit: Frank S. Filz 
CommitDate: Fri Aug 11 14:31:22 2017 -0700

 SAL: extract fs logic from nfs4_recovery

 This is a prepare patch for modulized recovery backends.
 - define recovery apis: struct nfs_recovery_backend
 - define hooks for recovery_fs module

 Change-Id: I45523ef9a0e6f9a801fc733b095ba2965dd8751b
 Signed-off-by: Gui Hecheng 
commit cb787a1cf4a4df4da672c6b00cb0724db5d99e4d
Author: Gui Hecheng 
AuthorDate: Thu Mar 30 10:50:18 2017 +0800
Commit: Frank S. Filz 
CommitDate: Fri Aug 11 14:31:23 2017 -0700

 SAL: introduce new recovery backend based on rados kv store

 Use rados OMAP API to implement a kv store for client tracking data

 Change-Id: I1aec1e110a2fba87ae39a1439818a363b6cfc822
 Signed-off-by: Gui Hecheng 
commit fbc905015d01a7f2548b81d84f35b76524543f13
Author: Gui Hecheng 
AuthorDate: Wed May 3 09:58:34 2017 +0800
Commit: Frank S. Filz 
CommitDate: Fri Aug 11 14:31:23 2017 -0700

 cmake: make modulized recovery backends compile as modules

 - add USE_RADOS_RECOV option for new rados kv backend
 - keep original fs backend as default

 Change-Id: I26c2c4f9a433e6cd70f113fa05194d6817b9377a
 Signed-off-by: Gui Hecheng 
commit eb4eea1343251f17fe39de48426bc4363eaef957
Author: Gui Hecheng 
AuthorDate: Thu May 4 22:43:17 2017 +0800
Commit: Frank S. Filz 
CommitDate: Fri Aug 11 14:31:23 2017 -0700

 config: add new config options for rados_kv recovery backend

 - new config block: RADOS_KV
 - new option: ceph_conf, userid, pool

 Change-Id: Id44afa70e8b5adb2cb2b9d48a807b0046f604f30
 Signed-off-by: Gui Hecheng 
commit f7a09d87851f64a68c2438fdc09372703bcbebec
Author: Matt Benjamin 
AuthorDate: Thu Jul 20 15:21:00 2017 -0400
Commit: Frank S. Filz 
CommitDate: Thu Aug 17 14:46:29 2017 -0700

 config: add config_url and RADOS url provider

 Provides a mechanism to to load nfs-ganesha config sections (e.g.,
 export blocks) from a generic URL.  Includes a URL provider
 which maps URLs to Ceph RADOS objects.

 Change-Id: I9067eaef2b38a78e9f1a877dfb9eb3c176239e71
 Signed-off-by: Matt Benjamin 
commit b6ce63479c965c12d2d3417abd1dd082cf0967b8
Author: Matt Benjamin 
AuthorDate: Fri Sep 22 14:21:46 2017 -0400
Commit: Frank S. Filz 
CommitDate: Fri Sep 22 14:06:12 2017 -0700

 rpm spec: add RADOS_URLS

 Change-Id: I60ebd4cb5bc3b3184704b8951a5392ed91846cdd
 Signed-off-by: Matt Benjamin 
commit 247c4a61cd743e7b3430bb0a9780c3f6d3f73a44
Author: Matt Benjamin 
AuthorDate: Fri Sep 22 15:38:37 2017 -0400
Commit: Frank S. Filz 
CommitDate: Fri Sep 22 14:06:28 2017 -0700

 rados url: handle error from rados_read()

 Change-Id: If437a989ddaea108216c28af99fab6da0f089e01
 Signed-off-by: Matt Benjamin 
commit d9f0536b7f3cbe6b9b4d0dc5b4e4acd3337d41b5
Author: Jeff Layton 
AuthorDate: Fri Oct 6 14:23:23 2017 -0400
Commit: Frank S. Filz 
CommitDate: Fri Oct 6 14:26:45 2017 -0700

 FSAL_CEPH: don't clobber the return code with the getlk call

 If a lock is denied, the code will call getlk to get the 
conflicting lock
 info. That action then clobbers the return code and makes the lock 
appear

 to be a success.

 Also, no need to check conflicting_lock twice here.

 See: https://github.com/nfs-ganesha/nfs-ganesha/issues/205

 Change-Id: Ibfc8ca92bec84518573f425131ce969479ae15dd
 Signed-off-by: Jeff Layton 
commit 13a2f2dce7aff5cc86bdb96b058cbb4d20898b66
Author: Matt Benjamin 
AuthorDate: Thu Oct 19 12:58:27 2017 -0400
Commit: Frank S. Filz 
CommitDate: Fri Oct 20 15:31:08 2017 -0700

 rgw: it's rados_url_param, dude

 Amazingly, a one-character mistake broke parsing of the RADOS_URLS
 config block.

 

[Nfs-ganesha-devel] Backport list for 2.5.4

2017-10-31 Thread Daniel Gryniewicz
Here's the set of commits that downstream Ceph needs.  Gluster can also 
use the non-Ceph related ones.


Note, these are oldest first, not newest first.

Daniel


commit b862fe360b2a0f1b1d9d5d6a8b91f1550b66b269
Author: Gui Hecheng 
AuthorDate: Thu Mar 30 10:44:25 2017 +0800
Commit: Frank S. Filz 
CommitDate: Fri Aug 11 14:31:22 2017 -0700

SAL: extract fs logic from nfs4_recovery

This is a prepare patch for modulized recovery backends.
- define recovery apis: struct nfs_recovery_backend
- define hooks for recovery_fs module

Change-Id: I45523ef9a0e6f9a801fc733b095ba2965dd8751b
Signed-off-by: Gui Hecheng 
commit cb787a1cf4a4df4da672c6b00cb0724db5d99e4d
Author: Gui Hecheng 
AuthorDate: Thu Mar 30 10:50:18 2017 +0800
Commit: Frank S. Filz 
CommitDate: Fri Aug 11 14:31:23 2017 -0700

SAL: introduce new recovery backend based on rados kv store

Use rados OMAP API to implement a kv store for client tracking data

Change-Id: I1aec1e110a2fba87ae39a1439818a363b6cfc822
Signed-off-by: Gui Hecheng 
commit fbc905015d01a7f2548b81d84f35b76524543f13
Author: Gui Hecheng 
AuthorDate: Wed May 3 09:58:34 2017 +0800
Commit: Frank S. Filz 
CommitDate: Fri Aug 11 14:31:23 2017 -0700

cmake: make modulized recovery backends compile as modules

- add USE_RADOS_RECOV option for new rados kv backend
- keep original fs backend as default

Change-Id: I26c2c4f9a433e6cd70f113fa05194d6817b9377a
Signed-off-by: Gui Hecheng 
commit eb4eea1343251f17fe39de48426bc4363eaef957
Author: Gui Hecheng 
AuthorDate: Thu May 4 22:43:17 2017 +0800
Commit: Frank S. Filz 
CommitDate: Fri Aug 11 14:31:23 2017 -0700

config: add new config options for rados_kv recovery backend

- new config block: RADOS_KV
- new option: ceph_conf, userid, pool

Change-Id: Id44afa70e8b5adb2cb2b9d48a807b0046f604f30
Signed-off-by: Gui Hecheng 
commit f7a09d87851f64a68c2438fdc09372703bcbebec
Author: Matt Benjamin 
AuthorDate: Thu Jul 20 15:21:00 2017 -0400
Commit: Frank S. Filz 
CommitDate: Thu Aug 17 14:46:29 2017 -0700

config: add config_url and RADOS url provider

Provides a mechanism to to load nfs-ganesha config sections (e.g.,
export blocks) from a generic URL.  Includes a URL provider
which maps URLs to Ceph RADOS objects.

Change-Id: I9067eaef2b38a78e9f1a877dfb9eb3c176239e71
Signed-off-by: Matt Benjamin 
commit b6ce63479c965c12d2d3417abd1dd082cf0967b8
Author: Matt Benjamin 
AuthorDate: Fri Sep 22 14:21:46 2017 -0400
Commit: Frank S. Filz 
CommitDate: Fri Sep 22 14:06:12 2017 -0700

rpm spec: add RADOS_URLS

Change-Id: I60ebd4cb5bc3b3184704b8951a5392ed91846cdd
Signed-off-by: Matt Benjamin 
commit 247c4a61cd743e7b3430bb0a9780c3f6d3f73a44
Author: Matt Benjamin 
AuthorDate: Fri Sep 22 15:38:37 2017 -0400
Commit: Frank S. Filz 
CommitDate: Fri Sep 22 14:06:28 2017 -0700

rados url: handle error from rados_read()

Change-Id: If437a989ddaea108216c28af99fab6da0f089e01
Signed-off-by: Matt Benjamin 
commit d9f0536b7f3cbe6b9b4d0dc5b4e4acd3337d41b5
Author: Jeff Layton 
AuthorDate: Fri Oct 6 14:23:23 2017 -0400
Commit: Frank S. Filz 
CommitDate: Fri Oct 6 14:26:45 2017 -0700

FSAL_CEPH: don't clobber the return code with the getlk call

If a lock is denied, the code will call getlk to get the 
conflicting lock
info. That action then clobbers the return code and makes the lock 
appear

to be a success.

Also, no need to check conflicting_lock twice here.

See: https://github.com/nfs-ganesha/nfs-ganesha/issues/205

Change-Id: Ibfc8ca92bec84518573f425131ce969479ae15dd
Signed-off-by: Jeff Layton 
commit 13a2f2dce7aff5cc86bdb96b058cbb4d20898b66
Author: Matt Benjamin 
AuthorDate: Thu Oct 19 12:58:27 2017 -0400
Commit: Frank S. Filz 
CommitDate: Fri Oct 20 15:31:08 2017 -0700

rgw: it's rados_url_param, dude

Amazingly, a one-character mistake broke parsing of the RADOS_URLS
config block.

Change-Id: I6a5661a85cf734e5d93f8c03a78d50ac9a854954
Signed-off-by: Matt Benjamin 
commit 3571d1af1d7b8cb4e9898ed9f92c09ba8fca2805
Author: Matt Benjamin 
AuthorDate: Tue Oct 17 17:24:41 2017 -0400
Commit: Frank S. Filz 
CommitDate: Fri Oct 20 15:30:46 2017 -0700

RGW: pass V3 flag to rgw_write() when !state

Needed to permit librgw to simulate opens for NFSv3.

Change-Id: Ia7ba289a5941bd2f68c3ed678a95b9d16cb4fad0
Signed-off-by: Matt Benjamin 
commit 2223c3c70fa2189185e9e968a2ffe0cf763b3544
Author: Matt Benjamin 
AuthorDate: Fri Oct 13 16:55:20 2017 -0400
Commit: Frank S. Filz 
CommitDate: Fri Oct 20 14:52:22 2017 -0700

RGW: set fso_compute_readdir_cookie

The change that implement the method, didn't set the fs option.

Change-Id: I9d8e949d08eea8bb86e3a9a40514e52c927bcb26
Signed-off-by: Matt Benjamin 
commit 8d039cd139ea1dcfbe316b7e93e96efe755669ef
Author: Matt Benjamin 
AuthorDate: Tue Oct 17 08:57:57 2