[DLM] reject replies to old requests
authorDavid Teigland <teigland@redhat.com>
Wed, 9 Aug 2006 16:20:15 +0000 (11:20 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 9 Aug 2006 21:32:07 +0000 (17:32 -0400)
commit4a99c3d9d6663085e28bc7ac8dae1e985c5a6174
treecf96b33aaa41411f7c5a5a5ece5862c4d672711f
parentfaa0f2677287a2e7ae796db8b73618ec43715e94
[DLM] reject replies to old requests

When recoveries are aborted by other recoveries we can get replies to
status or names requests that we've given up on.  This can cause problems
if we're making another request and receive an old reply.  Add a sequence
number to status/names requests and reject replies that don't match.  A
field already exists for the seq number that's used in other message
types.

Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/dlm/dlm_internal.h
fs/dlm/rcom.c