Whamcloud - gitweb
b=21574 more pinger fixes
authorJohann Lombardi <johann@sun.com>
Sat, 16 Jan 2010 14:39:22 +0000 (15:39 +0100)
committerJohann Lombardi <johann@sun.com>
Sat, 16 Jan 2010 14:39:22 +0000 (15:39 +0100)
commit8b0c0df119c04ebe175565b56a80d713ee2df6b2
tree40d3c0234d34f8c6bb6db0836fa1cf5fda4a7352
parentff9e05ee9f36b50f0415adfbacbe54fb7eaa4639
b=21574 more pinger fixes

i=oleg
i=andrew

- ptlrpc_update_next_ping(): don't postpone next ping when "soon"
  is set and a ping request is already scheduled before the new
  deadline.
- It is usually fine to extend the deadline for the next ping
  since we are granted that the pinger will wake up before
  this new deadline and update his timer.
  However, the purpose of ptlrpc_pinger_commit_expected() is to
  schedule ping earlier. To support this, i've changed
  ptlrpc_update_next_ping() to wake up the pinger if the new
  ping deadline is before the pinger is supposed to wake up.
lustre/ChangeLog
lustre/ptlrpc/pinger.c
lustre/ptlrpc/ptlrpc_module.c