On 12/15/2017 12:48 PM, Frank Filz wrote:
From: Aurelien RAINONE [mailto:aurelien.rain...@gmail.com]
Sent: Friday, December 15, 2017 9:30 AM
To: Nfs-ganesha-devel@lists.sourceforge.net
Subject: [Nfs-ganesha-devel] Implement a FSAL for S3-compatible storage
Hi,
I'm new to nfs-ganesha and on this mailing-list. I'm currently reading a
maximum of documentation and code in order to understand where to start
the implementation of a new FSAL.
The main objectives of my development are:
- connect one fsal export to exactly one S3 Bucket. Requests to the S3 host
will be performed with libs3 (github.com/bji/libs3).
- make proper use of cache in order to not overload the network connection
to the S3 host.
- no need for full ACL support, maybe also no ACL at all, at least at the
beggining.
My new FSAL would be based on v2.5.4 stable branch.
Here are my surely very basic questions:
1) I read that FSAL API has undergone major refactorings in the last
months/years. Is the 2.5.4 branch recent enough for my needs?
Should be reasonable, though you might want to develop against next. I strongly
encourage development in tree.
2) I intent to start developing the new FSAL over FSAL_RGW? Is my choice
correct ?
I'm not quite sure what you mean by that.
FSAL_RGW may or may not be a good place to start. It provides a
filesystem-like library API to Ganesha that translates internally to the
objects view provided by RGW. It doesn't actually use any S3 at all, it
speaks RADOS directly to the Ceph cluster.
That said, there may not be any better FSAL to base on, since all FSALs
in the tree currently provide a filesystem API, except for PROXY, which
translates NFS directly to NFS.
In our work on FSAL_RGW, we've come to the conclusion that converting
between NFS and S3 is very hard, so expect to hit many cases where it
either doesn't work, or doesn't work well, for the first several
iterations at least.
Daniel
------------------------------------------------------------------------------
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