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