Whamcloud - gitweb
LU-3160 clio: don't ignore layout on writeback
authorNiu Yawei <yawei.niu@intel.com>
Thu, 25 Apr 2013 03:05:25 +0000 (23:05 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 2 May 2013 05:24:11 +0000 (01:24 -0400)
commit3141db609d95d379761e3b54899618b4037d38f6
tree7eba3b2e0788e76ce285030ba63ab84776f4562b
parentfaefbfc0460bc00f2ee4c1c1c86aa1e39b9eea49
LU-3160 clio: don't ignore layout on writeback

In some cases such as kernel writeback, we shouldn't ignore the
layout, otherwise, it could race with layout change undergoing.

Test-Parameters: envdefinitions=DURATION=7200  clientdistro=el6 serverdistro=el6 clientcount=4  osscount=2 mdscount=2 austeroptions=-R failover=true  useiscsi=true testlist=recovery-random-scale
Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Change-Id: Ib9d0aa581de90711c92db4c631c52f1950ad5b67
Reviewed-on: http://review.whamcloud.com/6154
Tested-by: Hudson
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/llite/file.c
lustre/llite/llite_internal.h
lustre/llite/llite_lib.c
lustre/llite/rw.c
lustre/llite/vvp_io.c