Whamcloud - gitweb
LU-3299 llite: force lvb_data update after layout change
authorjcl <jacques-charles.lafoucriere@cea.fr>
Wed, 8 May 2013 12:49:07 +0000 (14:49 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 13 Jun 2013 17:09:38 +0000 (13:09 -0400)
commit03a6a8b1e7ab1bc8051590dea522cbbe064e0a5e
treeb21dc79fb2316925537142f591caf5ca54fb7255
parent2f41b688058532248e69ff0194c27616f4dfb6d5
LU-3299 llite: force lvb_data update after layout change

When a file is restored the layout lock is first
associated with the released layout and after restore
it has to be assocaited with the new layout. This patch
forces lvb_data update in ll_layout_fetch() even if one
is present (case for released->normal state change)

Signed-off-by: JC Lafoucriere <jacques-charles.lafoucriere@cea.fr>
Change-Id: I9bc02955a8e005898db3dc4db530ee0d29b35ba1
Reviewed-on: http://review.whamcloud.com/6291
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Johann Lombardi <johann.lombardi@intel.com>
lustre/llite/file.c