Whamcloud - gitweb
LU-5285 mdt: reconstruct to handle non-existing objects 37/11137/2
authorAlex Zhuravlev <alexey.zhuravlev@intel.com>
Wed, 9 Jul 2014 13:50:11 +0000 (17:50 +0400)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 11 Aug 2014 15:36:47 +0000 (11:36 -0400)
commitdd3addfab8c6ac6a3e51ad60bb4f2aa5518efde1
tree14c3dec940083daee117a6859c10b1ff747de8b9
parent027046e4324f2543212f0606462d04ad623a7d61
LU-5285 mdt: reconstruct to handle non-existing objects

it's possible that reconstruction finds the object doesn't exist
because the original transaction was committed and the rep-ack
lock got released letting another clients to destroy the object.
we should handle this propely - return attributes to indicate the
object has been unlinked (nlink=0

Signed-off-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Change-Id: I3bc18ff0cdb3b7f6d28e47604cf3e142e3f5bc42
Reviewed-on: http://review.whamcloud.com/11025
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mdt/mdt_handler.c
lustre/mdt/mdt_recovery.c
lustre/tests/replay-dual.sh