Whamcloud - gitweb
* changed ptlrpc_unregister_reply(), ptlrpc_unregister_bulk() and
authoreeb <eeb>
Tue, 6 Apr 2004 22:45:41 +0000 (22:45 +0000)
committereeb <eeb>
Tue, 6 Apr 2004 22:45:41 +0000 (22:45 +0000)
commit4cef4816149177ec92628b93c13a32067647b42d
tree71aaf5ad88327aae84ea363069641d682a8a9bcb
parent1a23c2f37219c18b45d3ae4cf41488b05c938039
*     changed ptlrpc_unregister_reply(), ptlrpc_unregister_bulk() and
      ptlrpc_abort_bulk() to always l_wait_event() after doing
      PtlMDUnlink() on the relevant MD.  Previous code assumed that when
      PtlMDUnlink() returned PTL_MD_INVALID, the relevant callback handler
      must have run already, which isn't true for liblustre.  The
      l_wait_event() will be a NOOP for kernel lustre (condition already
      true) but gives the liblustre event handler a chance to call all
      the callbacks.
lustre/ptlrpc/client.c
lustre/ptlrpc/niobuf.c