From f7a76c7cac9d49f409f5d7a1c909708ba7aeaa1f Mon Sep 17 00:00:00 2001 From: adilger Date: Mon, 11 Jul 2005 22:22:36 +0000 Subject: [PATCH] Branch b1_4 Add some comments to {mds,filter}_setup() describing config parameters. --- lustre/mds/handler.c | 7 ++++++- lustre/obdfilter/filter.c | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/lustre/mds/handler.c b/lustre/mds/handler.c index c15be19..c1c72f3 100644 --- a/lustre/mds/handler.c +++ b/lustre/mds/handler.c @@ -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; diff --git a/lustre/obdfilter/filter.c b/lustre/obdfilter/filter.c index 49598e9..3f26239 100644 --- a/lustre/obdfilter/filter.c +++ b/lustre/obdfilter/filter.c @@ -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) { -- 1.8.3.1