Whamcloud - gitweb
LU-1318 ldlm: allow different LVB structures to be used
authorJohann Lombardi <johann@whamcloud.com>
Fri, 24 Feb 2012 15:42:23 +0000 (16:42 +0100)
committerOleg Drokin <green@whamcloud.com>
Thu, 17 May 2012 04:40:38 +0000 (00:40 -0400)
commit1d1c177f6bf3cd0201a1b5da726e529950fe8bf4
tree91b011401500e8c059b49e3d084e6916091a4e66
parent648930da11a2e37d8bd715b24ece688096e13266
LU-1318 ldlm: allow different LVB structures to be used

The DLM code always assumes that the request buffer storing the LVB is
of type ost_lvb.
This patch allows new LVB types to be defined and used. Although there
is still one single LVB structure defined (i.e. ost_lvb), the new
quota architecture will define its own LVB soon.

Signed-off-by: Johann Lombardi <johann@whamcloud.com>
Change-Id: I497d774eb4b66029ff2755739bbe75190f6aeee8
Reviewed-on: http://review.whamcloud.com/2649
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Niu Yawei <niu@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre/lustre_idl.h
lustre/ptlrpc/layout.c
lustre/ptlrpc/pack_generic.c
lustre/ptlrpc/ptlrpc_module.c
lustre/utils/req-layout.c