Whamcloud - gitweb
LU-2531 osc: evict extents in trunc whatever happens
authorJinshan Xiong <jinshan.xiong@intel.com>
Thu, 27 Dec 2012 20:47:38 +0000 (12:47 -0800)
committerAndreas Dilger <andreas.dilger@intel.com>
Tue, 15 Jan 2013 18:57:50 +0000 (13:57 -0500)
commit2b9bf34b87597bc5235c5dff01ae2ec0b2a02d91
treee5c6c8414a647703b47df4cfd497b953349e589b
parentde677fa6395b2646fbeb9822c59f3e4547aefba6
LU-2531 osc: evict extents in trunc whatever happens

In osc_cache_truncate_start(), we should ignore the return code
of osc_extent_wait() because initiator will handle it and truncate
should continue in anyways.

Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Change-Id: Iaae1228d0f1c488c5deaf938761715ee3984ac3d
Reviewed-on: http://review.whamcloud.com/4896
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Bobi Jam <bobijam@gmail.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/osc/osc_cache.c