Whamcloud - gitweb
LU-184 Keep orphan on failover umount
authorNiu Yawei <niu@whamcloud.com>
Thu, 14 Apr 2011 02:50:37 +0000 (19:50 -0700)
committerOleg Drokin <green@whamcloud.com>
Mon, 18 Apr 2011 17:28:02 +0000 (10:28 -0700)
commit5b3eecce0bad98c81a45712594037b6ec7a9024f
tree865c661cd6c78d3aa6f3023f764ffd9af86eb307
parent3dcb5fb7b79949d780bc82b1439622989516e34f
LU-184 Keep orphan on failover umount

- On failover umount, the orphan should not be cleared on last close.
- In mdt_mfd_close(), the ma_valid should not be set as zero, otherwise,
  mds will never issue object destroy to OSS.

Issue:
Signed-off-by: Niu Yawei <niu@whamcloud.com>
Change-Id: If0a894655d0ea42ad0d07e725174b73a137b7adb
Reviewed-on: http://review.whamcloud.com/426
Tested-by: Hudson
Reviewed-by: Mikhail Pershin <tappro@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre/lustre_idl.h
lustre/mdd/mdd_object.c
lustre/mdt/mdt_handler.c
lustre/mdt/mdt_open.c