Whamcloud - gitweb
LU-1943 echo: echo_client to get attributes like MDT does
authorMikhail Pershin <tappro@whamcloud.com>
Wed, 3 Oct 2012 07:18:41 +0000 (11:18 +0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 3 Oct 2012 22:51:39 +0000 (18:51 -0400)
commit054bddbe6d12e1b955764c46aec85f6f2e25bd24
tree943ac80ac0d0354ccbb1a4266e86c2cb8ea3d42b
parent7e253000b0feb3fd7580d7f8991ee377973b862f
LU-1943 echo: echo_client to get attributes like MDT does

with changes in MDT/MDD the echo_client start working not-correctly,
it uses always 0-stiped files because gets mdsize == 0 from MDD.

- All attributes should be taken explicitely from MDD. Introduce
echo_attr_get_complex() and use it.
- don't use md_getsize_max(), it is not supported anymore.
- fix error handling issues
- remove obsoleted code

Signed-off-by: Mikhail Pershin <tappro@whamcloud.com>
Change-Id: I6f1277018d4b8716aa2e799e99aea6402c04b605
Reviewed-on: http://review.whamcloud.com/4164
Tested-by: Hudson
Reviewed-by: wangdi <di.wang@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre/lustre_idl.h
lustre/obdecho/echo_client.c