Whamcloud - gitweb
LU-4253 osc: Don't flush active extents.
authorAnn Koehler <amk@cray.com>
Thu, 14 Nov 2013 22:02:15 +0000 (16:02 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 14 Feb 2014 16:35:28 +0000 (11:35 -0500)
commit668bb793470eb1bb554feb52a454a93009483196
tree71e9424cd485bfb3995e99683daad0c00b3306a7
parent422e102b8effaa14e0247591a53f8730a4f37b7d
LU-4253 osc: Don't flush active extents.

The extent is active so we need to abort and let the caller
re-dirty the page. If we continued on here, and we were the
one making the extent active, we could deadlock waiting for
the page writeback to clear but it won't because the extent
is active and won't be written out.

Signed-off-by: Ann Koehler <amk@cray.com>
Change-Id: Iba646d8185b12ab227fe0bbee1c6602ccdc32ad6
Reviewed-on: http://review.whamcloud.com/8278
Tested-by: Jenkins
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Alexey Lyashkov <alexey_lyashkov@xyratex.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/osc/osc_cache.c