summaryrefslogtreecommitdiffstats
path: root/doc/handling-options.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/handling-options.txt')
-rw-r--r--doc/handling-options.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/handling-options.txt b/doc/handling-options.txt
new file mode 100644
index 00000000000..cac1fe93947
--- /dev/null
+++ b/doc/handling-options.txt
@@ -0,0 +1,13 @@
+
+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.
+