glusterfs/doc/legacy/handling-options.txt
Vijay Bellur 076830c068 doc: Move outdated documentation to legacy
Change-Id: I0ceba9a993e8b1cdef4ff6a784bfd69c08107d88
BUG: 811311
Signed-off-by: Vijay Bellur <vijay@gluster.com>
Reviewed-on: http://review.gluster.com/3116
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Amar Tumballi <amarts@redhat.com>
Reviewed-by: Anand Avati <avati@redhat.com>
2012-04-11 10:25:56 -07:00

14 lines
482 B
Plaintext

How to add a new option to a given volume ?
===========================================
* Add a entry in 'struct volume_options options[]' with your key, what is
the type of the 'key', etc.
* The 'key' and corresponding 'value' given for the same by user are validated
before calling init() of the translator/transport/scheduler/auth-module.
* Once the complete init() is successful, user will get a warning if he has
given a 'key' which is not defined in these modules.