Whamcloud - gitweb
LU-3448 llite: call simple_setattr() from ll_md_setattr() 43/6643/4
authorJohn L. Hammond <john.hammond@intel.com>
Fri, 14 Jun 2013 01:07:50 +0000 (20:07 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 21 Jun 2013 20:44:54 +0000 (20:44 +0000)
commit101f527e687941024311ab42f4c5843421448234
treeab98a761c0d1b862859a5e72970de8805229451a
parentdcf0c1bf719c4ac39449aa79395a8068740dd582
LU-3448 llite: call simple_setattr() from ll_md_setattr()

This partially reverts the change from "LU-2482 layout: introduce new
layout for released files" by calling simple_setattr() from
ll_md_setattr() without ATTR_SIZE set. Doing so avoids failed
assertions in osc_page_delete(). Disable truncates on released files
and modify sanity 229 accordingly.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I201882a4ee42d8c63121477b6d7495cbb9701465
Reviewed-on: http://review.whamcloud.com/6643
Reviewed-by: jacques-Charles Lafoucriere <jacques-charles.lafoucriere@cea.fr>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/llite/llite_lib.c
lustre/lov/lov_io.c
lustre/tests/multiop.c
lustre/tests/sanity.sh