Whamcloud - gitweb
- Split import reconnection and replay (OSC only needs to reconnect).
authorshaver <shaver>
Sat, 19 Oct 2002 11:19:14 +0000 (11:19 +0000)
committershaver <shaver>
Sat, 19 Oct 2002 11:19:14 +0000 (11:19 +0000)
commit9e44a8a89812024d653aa5493b5e70d82d861c1c
tree37396054d2ce06920fa41c63fe0e4f26221cba4e
parent78af9439dd30d6b226bf35d976be989d0a9cbdc2
- Split import reconnection and replay (OSC only needs to reconnect).
- Restore recovd-management of server-side connections (why did I take that out
  in the first place?).
- Abort inflight, uncommitted and waiting requests for imports that are
  invalidated by reconnection to OST.  (Generates -EIO, or should!)
- Mete out harsh, harsh justice to locks held by recovery-invalidated imports.
- Remove LBUG()s now that some error returns from ldlm_cli_cancel are "normal".
- Cancel locks on disconnection from OST (really filter).
- Ignore replies that come in after we've started recovery on a given connection.
  The socknal's implicit retransmission can otherwise cause us worlds and worlds
  of hurt.
- Wake up when we get aborted, and return -EIO.
- Remove connections from the recovd's care when they go unused.  (Which might
  actually happen, once Phil lands his refcounting fixes!)
13 files changed:
lustre/include/linux/lustre_ha.h
lustre/include/linux/lustre_import.h
lustre/lib/target.c
lustre/llite/recover.c
lustre/llite/super.c
lustre/mdc/mdc_request.c
lustre/obdclass/genops.c
lustre/obdfilter/filter.c
lustre/ptlrpc/client.c
lustre/ptlrpc/connection.c
lustre/ptlrpc/recovd.c
lustre/ptlrpc/recover.c
lustre/ptlrpc/rpc.c