Whamcloud - gitweb
Branch b1_4
authoradilger <adilger>
Mon, 11 Jul 2005 22:22:36 +0000 (22:22 +0000)
committeradilger <adilger>
Mon, 11 Jul 2005 22:22:36 +0000 (22:22 +0000)
Add some comments to {mds,filter}_setup() describing config parameters.

lustre/mds/handler.c
lustre/obdfilter/filter.c

index c15be19..c1c72f3 100644 (file)
@@ -1444,7 +1444,12 @@ int mds_update_server_data(struct obd_device *obd, int force_sync)
 }
 
 
-/* mount the file system (secretly) */
+/* mount the file system (secretly).  lustre_cfg parameters are:
+ * 1 = device
+ * 2 = fstype
+ * 3 = flags: failover=f, failout=n, ignored for an MDS
+ * 4 = mount options
+ */
 static int mds_setup(struct obd_device *obd, obd_count len, void *buf)
 {
         struct lprocfs_static_vars lvars;
index 49598e9..3f26239 100644 (file)
@@ -1293,7 +1293,12 @@ void *filter_iobuf_get(struct ptlrpc_thread *thread, struct filter_obd *filter)
         return kio;
 }
 
-/* mount the file system (secretly) */
+/* mount the file system (secretly).  lustre_cfg parameters are:
+ * 1 = device
+ * 2 = fstype
+ * 3 = flags: failover=f, failout=n
+ * 4 = mount options
+ */
 int filter_common_setup(struct obd_device *obd, obd_count len, void *buf,
                         void *option)
 {