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?
2) I intent to start developing the new FSAL over FSAL_RGW? Is my choice
correct ?
I read those recommendations in a recent thread on this mailing-list.
Somebody wanted to implement a new FSAL and this was answered:
- You need to be able to form a handle (preferably no larger than about 40
bytes) which is persistent across Ganesha process restarts and server
reboots.
- You need to be able to find a file using this handle
Can you explain why the need for handle persistence?
3) Neither the S3 API nor libs3 have the concept of file handle, I mean the
only way to identify a file with S3 API and libs3 is through its name, a
string of characters that may go over 40 bytes.
Does hashing the filename and keeping a map of hashes <-> paths seems like
a good idea to you?
4) Neither the S3 API nor libs3 have the concept of directory. Directories
are just implied when a path contains some slashes or finishes with a
slash. Any recommandations/ideas about how to treat this specific point
Thanks
Aurélien
------------------------------------------------------------------------------
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