Whamcloud - gitweb
LU-3129 osd: Get FID from LMA if not in directory entry
authorwang di <di.wang@intel.com>
Sun, 14 Apr 2013 07:57:10 +0000 (00:57 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 17 Apr 2013 05:25:49 +0000 (01:25 -0400)
commit65319af8d2d9b6df6264a41e3a6dd5368c55f3cc
tree26052b8d9ca7348b18d971250ae0cac7f63213d5
parent53d4286bc0f08f4d614c81842fbfdfb6a2f438bd
LU-3129 osd: Get FID from LMA if not in directory entry

During deleting agent inode, if the FID can not be found in
directory entries, for example FS upgraded from 1.8 or restored
FS, it should try to get the FID from LMA.

Fix DNE upgrade tests to use a temporary loop device for adding
new MDT, instead of MDTDEV2, which might affect other tests.

Signed-off-by: wang di <di.wang@intel.com>
Change-Id: I082c330f2b12258e996bdd9820db56a8659540f1
Reviewed-on: http://review.whamcloud.com/5997
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
lustre/include/lustre/lustre_idl.h
lustre/obdecho/echo_client.c
lustre/osd-ldiskfs/osd_handler.c
lustre/tests/conf-sanity.sh