Whamcloud - gitweb
b=4019
authoralex <alex>
Wed, 28 Jul 2004 19:17:32 +0000 (19:17 +0000)
committeralex <alex>
Wed, 28 Jul 2004 19:17:32 +0000 (19:17 +0000)
commitd41530916baeff6b289e5658cc27d79fdd34cb7e
treefe1c3bc02aab69e494ab9f32d5dc542bb92ce706
parentcf227a84492f96aca7b438f625a76965918bbf2d
b=4019
r=adilger

 - obd_connect() gets one more arg: connect flags
 - client_connect_import() puts this flag in imp_connect_flags
 - ptlrpc_connect_import() sends this flag to peer
 - mds_lmv_connect() passes OBD_OPT_MDS_CONNECTION when connects to MDS
 - mds_connect() looks for OBD_OPT_MDS_CONNECTION and treats
   connection with this flag as MDS-to-MDS and doesn't try
   to connect to own LMV

 this way connection to LMV gets delayed and MDS reconnects to LMV
 after recovery abort
22 files changed:
lustre/cmobd/cache_manager_obd.c
lustre/cobd/cache_obd.c
lustre/include/linux/lustre_import.h
lustre/include/linux/lustre_net.h
lustre/include/linux/obd.h
lustre/include/linux/obd_class.h
lustre/ldlm/ldlm_lib.c
lustre/llite/llite_lib.c
lustre/lmv/lmv_obd.c
lustre/lov/lov_obd.c
lustre/mdc/mdc_request.c
lustre/mds/handler.c
lustre/mds/mds_lmv.c
lustre/mds/mds_lov.c
lustre/obdclass/llog_test.c
lustre/obdecho/echo.c
lustre/obdecho/echo_client.c
lustre/obdfilter/filter.c
lustre/osc/osc_request.c
lustre/ptlbd/client.c
lustre/ptlbd/server.c
lustre/ptlrpc/import.c