Whamcloud - gitweb
LU-128 Avoid assertion on wire data in last_rcvd update
authorMikhail Pershin <tappro@whamcloud.com>
Fri, 22 Apr 2011 18:24:25 +0000 (22:24 +0400)
committerOleg Drokin <green@whamcloud.com>
Thu, 12 May 2011 00:32:17 +0000 (17:32 -0700)
commit2bb3a7f6b9889af696485267eb254db7980fe193
tree047af44873794088c049dc8cb310f915dd5585e8
parentdc0317c7150f068cff7343051092236b5c9c29eb
LU-128 Avoid assertion on wire data in last_rcvd update

- checks that lower transno can't overwrite the bigger one in last_rcvd
  slot.
- evict client if bad transno was sent in replay, this is done by simulating
  VBR failure
- keep assertion for server-generated transno, this is logical error
- fix issue with resent-replay open which can cause unexpected
  transaction while closing the old mfd.

Change-Id: Ib523c25408b4d821f52d95c40a4fbd7d79d6cbe6
Signed-off-by: Mikhail Pershin <tappro@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/452
Tested-by: Hudson
Reviewed-by: Niu Yawei <niu@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mdt/mdt_open.c
lustre/mdt/mdt_recovery.c
lustre/obdfilter/filter.c