From 77adf4cd648dce41f89469dd185deec6b6b53a0b Mon Sep 17 00:00:00 2001 From: Vikas Gorur Date: Wed, 18 Feb 2009 17:36:07 +0530 Subject: Added all files --- doc/handling-options.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 doc/handling-options.txt (limited to 'doc/handling-options.txt') 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. + -- cgit