Whamcloud - gitweb
LU-1710 lvb: variable sized LVB support
authorJinshan Xiong <jinshan.xiong@intel.com>
Thu, 6 Dec 2012 17:03:27 +0000 (09:03 -0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 12 Dec 2012 17:21:07 +0000 (12:21 -0500)
commit929ec628e6fef5609e55d519a1eb9e2cbbf1f1e8
tree84a5009309b9ed1700b94e3d285aeb0aa67a0ac1
parentcaf5bdffb4eb6e3fb31724a1cb037cecfeb6ae6c
LU-1710 lvb: variable sized LVB support

Originally, the LVB on wire is fixed sized only for transferring
object {m/a/c}time and block/size information.

But with introducing layout lock, new quota and nanosecond features
in the near futures, such fixed sized on wire LVB structure cannot
match the requirements from these new features.

So change on wire protocol to allow variable sized LVB transerred
between nodes.

Signed-off-by: Fan Yong <yong.fan@whamcloud.com>
Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Change-Id: Ifcd2d303495d2b3d1c09c38af823d246fff196fa
Reviewed-on: http://review.whamcloud.com/3965
Tested-by: Hudson
Reviewed-by: Johann Lombardi <johann.lombardi@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
41 files changed:
lustre/include/lustre/lustre_idl.h
lustre/include/lustre_dlm.h
lustre/include/lustre_export.h
lustre/include/lustre_req_layout.h
lustre/ldlm/ldlm_flock.c
lustre/ldlm/ldlm_internal.h
lustre/ldlm/ldlm_lock.c
lustre/ldlm/ldlm_lockd.c
lustre/ldlm/ldlm_request.c
lustre/liblustre/rw.c
lustre/liblustre/super.c
lustre/llite/llite_lib.c
lustre/mdc/mdc_locks.c
lustre/mdt/mdt_handler.c
lustre/mdt/mdt_internal.h
lustre/mdt/mdt_reint.c
lustre/mgc/mgc_request.c
lustre/mgs/mgs_handler.c
lustre/obdclass/obd_mount.c
lustre/obdecho/echo.c
lustre/obdecho/echo_client.c
lustre/ofd/ofd_dlm.c
lustre/ofd/ofd_internal.h
lustre/ofd/ofd_lvb.c
lustre/ofd/ofd_obd.c
lustre/osc/osc_lock.c
lustre/osc/osc_request.c
lustre/osp/osp_dev.c
lustre/ost/ost_handler.c
lustre/ptlrpc/layout.c
lustre/ptlrpc/pack_generic.c
lustre/ptlrpc/wiretest.c
lustre/quota/qmt_lock.c
lustre/quota/qsd_handler.c
lustre/quota/qsd_internal.h
lustre/quota/qsd_lock.c
lustre/quota/qsd_reint.c
lustre/quota/qsd_request.c
lustre/utils/req-layout.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c