Whamcloud - gitweb
LU-1370 obdecho: few fixes about md_echo clients
authorwangdi <di.wang@whamcloud.com>
Mon, 14 May 2012 23:45:07 +0000 (16:45 -0700)
committerOleg Drokin <green@whamcloud.com>
Thu, 12 Jul 2012 19:18:24 +0000 (15:18 -0400)
commitc9efb1e343216d857b27538de9c7eb0e1249af19
treeb46e7cc5e6c310ba4e07b7e81e879c322e6f96f8
parent54183b0637493c995ed2cd5d4cb3cce80192e6cb
LU-1370 obdecho: few fixes about md_echo clients

1. Remove LU_NOREF flag from echo client ctxt, because it
conflicts with cl ctxt(which has no NOREF flag). So if
echo_client and normal lustre client share the same context
cache, this flag will cause echo module refcount not being
dropped.

2. Ma_lmm_size in ma will be changed during mdd_xxx,
so we can not use that to free the ma_lmm.

3. Remove lu_device from linkage on lu_site during cleanup
 phase.

Signed-off-by: Di Wang <di.wang@whamcloud.com>
Change-Id: I08fec689ef9c8b64284f7400ab0fc4dc362ebf87
Reviewed-on: http://review.whamcloud.com/2784
Reviewed-by: Jinshan Xiong <jinshan.xiong@whamcloud.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Fan Yong <yong.fan@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/cmm/cmm_device.c
lustre/include/lu_object.h
lustre/mdd/mdd_device.c
lustre/mdt/mdt_handler.c
lustre/obdclass/lu_object.c
lustre/obdecho/echo_client.c
lustre/osd-ldiskfs/osd_handler.c