Whamcloud - gitweb
LU-8683 readahead: update ras window correctly 32/23032/3
authorBobi Jam <bobijam.xu@intel.com>
Sat, 19 Dec 2015 02:10:29 +0000 (10:10 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 25 Oct 2016 02:23:57 +0000 (02:23 +0000)
commit9c4b9ba2a32343bb8fae774db4edd7cf2ef9e852
tree4967ee7ce523b1df326718f635550e483889628c
parent64b279c3ec0e7a9960b3d33db8a64e0a53af9e82
LU-8683 readahead: update ras window correctly

When stride-RA hit case miss, we only reset normal sequential
read-ahead window, but not reset the stride IO to avoid the overhead
of re-detecting stride IO. While when the normal RA window is set
to not insect with the stride-RA window, when we try to increase
the stride-RA window length later, the presumption does not hold.

This patch resets the stride IO as well in this case.

Lustre-change: http://review.whamcloud.com/17343
Lustre-commit: 88ef5af0bed93c88984c226db755d07601aef60f

Signed-off-by: Bobi Jam <bobijam.xu@intel.com>
Change-Id: Iba6e51f12ac4d00548cc99b7bd423502b754db13
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Reviewed-on: http://review.whamcloud.com/23032
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: wangdi <di.wang@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
lustre/llite/rw.c