Whamcloud - gitweb
LU-1244 obdecho: destroy ost objects for md echo client.
authorwangdi <di.wang@whamcloud.com>
Wed, 21 Mar 2012 00:27:55 +0000 (17:27 -0700)
committerOleg Drokin <green@whamcloud.com>
Fri, 6 Apr 2012 03:13:28 +0000 (23:13 -0400)
commit1e9854927732954d45f2ca93488997fb0b5476b2
treeabd1730ca738f76ae27741ff91a1825643e1f862
parent7526d21040f4064f83fc4350cd58a8f39de913b3
LU-1244 obdecho: destroy ost objects for md echo client.

Since md echo client connects MDT directly, and there are no
lov for echo client, so it will destroy the ost object in
mdd_unlink directly.

In setxattr test, it should set another EA, instead of LOV,
which would cause problem in the following test.

Reset valid before unlink and getattr.

Signed-off-by: Di Wang <di.wang@whamcloud.com>
Change-Id: Id3da42fac4af944ceef7db34f13e8f2b40f733b6
Reviewed-on: http://review.whamcloud.com/2356
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre/lustre_idl.h
lustre/mdd/mdd_dir.c
lustre/mdd/mdd_internal.h
lustre/mdd/mdd_lov.c
lustre/obdecho/echo_client.c
lustre/utils/obd.c