Whamcloud - gitweb
LU-4253 osc: Don't flush active extents. 78/8278/2
authorAnn Koehler <amk@cray.com>
Thu, 14 Nov 2013 22:02:15 +0000 (16:02 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 6 Dec 2013 06:32:42 +0000 (06:32 +0000)
commit88198f6f410d80c1c76b2d6c85f40b9d1bcf7ad9
tree900b55d4994dac13be5d0f4c8da5b0cd8f53b785
parentea1a05b99c63689771fd678d10e9748ce18e129c
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