Land from b_hd_pid to HEAD
b=bug4165(pid) r=Peter - Assign the constant number to kernel portals pid, this constant is LUSTRE_SRV_PTL_PID(999999) defined in lustre_idl.h; In the user mode(liblustre), use the getpid() - Modify the struct ptlrpc_peer's field peer_nid from ptl_nid_t to ptl_process_id_t, which include pid. Modify the related code with peer_nid. - Change the snprintf remote_uuid.uuid to include pid info in target_handle_connect; - In ksocknal_api_startup, use LUSTRE_SRV_PTL_PID to PtlNIInit. - In tcpnal_init, b->lib_nal->libnal_ni.ni_pid.pid=0; This line should be deleted. - In ptlrpc_get_connection, add the pid compare when iterate the conn_list & conn_unused_list - Change request_in_callback while assign req->rq_peer.peer_id - In ptlrpc_uuid_to_peer, give default value (LUSTRE_SRV_PTL_PID) to peer->peer_id.pid - Change each entry to call PtlNIInit/PtlPut - Change the entry to call PtlMEAttach, use c_peer value replace PTL_PID_ANY , it is the most important!
Showing
- lnet/include/linux/kp30.h 2 additions, 1 deletionlnet/include/linux/kp30.h
- lnet/klnds/gmlnd/gmlnd_api.c 1 addition, 1 deletionlnet/klnds/gmlnd/gmlnd_api.c
- lnet/klnds/iblnd/ibnal.c 1 addition, 1 deletionlnet/klnds/iblnd/ibnal.c
- lnet/klnds/qswlnd/qswlnd.c 2 additions, 2 deletionslnet/klnds/qswlnd/qswlnd.c
- lnet/klnds/scimaclnd/scimacnal.c 1 addition, 1 deletionlnet/klnds/scimaclnd/scimacnal.c
- lnet/klnds/socklnd/socklnd.c 2 additions, 2 deletionslnet/klnds/socklnd/socklnd.c
- lnet/klnds/socklnd/socklnd.h 1 addition, 0 deletionslnet/klnds/socklnd/socklnd.h
- lnet/libcfs/debug.c 25 additions, 0 deletionslnet/libcfs/debug.c
- lnet/lnet/lib-move.c 2 additions, 0 deletionslnet/lnet/lib-move.c
- lnet/lnet/module.c 3 additions, 2 deletionslnet/lnet/module.c
- lnet/ulnds/socklnd/tcplnd.c 1 addition, 1 deletionlnet/ulnds/socklnd/tcplnd.c
- lnet/ulnds/tcplnd.c 1 addition, 1 deletionlnet/ulnds/tcplnd.c
- lustre/include/linux/lustre_idl.h 4 additions, 0 deletionslustre/include/linux/lustre_idl.h
- lustre/include/linux/lustre_net.h 13 additions, 2 deletionslustre/include/linux/lustre_net.h
- lustre/ldlm/ldlm_lib.c 2 additions, 2 deletionslustre/ldlm/ldlm_lib.c
- lustre/ldlm/ldlm_lockd.c 1 addition, 1 deletionlustre/ldlm/ldlm_lockd.c
- lustre/liblustre/llite_lib.c 23 additions, 1 deletionlustre/liblustre/llite_lib.c
- lustre/liblustre/tests/echo_test.c 23 additions, 0 deletionslustre/liblustre/tests/echo_test.c
- lustre/obdfilter/filter.c 8 additions, 8 deletionslustre/obdfilter/filter.c
- lustre/osc/osc_request.c 3 additions, 3 deletionslustre/osc/osc_request.c
Loading
Please register or sign in to comment