Whamcloud - gitweb
LU-2286 osc: unplug OSC queue at the end of truncate
authorJinshan Xiong <jinshan.xiong@whamcloud.com>
Tue, 6 Nov 2012 16:59:58 +0000 (08:59 -0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 15 Nov 2012 21:16:23 +0000 (16:16 -0500)
commit300526627be80c16be05dd1abd9a05b563dc0763
treeacb806335679b3f7465eca051f7950c604b16cbf
parent75e08bff67541a77032154a2347de108cdbd28aa
LU-2286 osc: unplug OSC queue at the end of truncate

It was missed somehow. Otherwise, this extent would never be flushed
until the next write to this file is coming. Even writepage() won't
help out this case.

Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Change-Id: I179269163e5ad5382448036046925a5747282472
Reviewed-on: http://review.whamcloud.com/4477
Tested-by: Hudson
Reviewed-by: Niu Yawei <niu@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/osc/osc_cache.c