diff options
| author | Bobi Jam <bobijam.xu@intel.com> | 2016-11-03 04:25:02 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-11-07 13:36:46 +0300 |
| commit | 4a21aef42fc71e192dc10496e7ce004a3cd986d8 (patch) | |
| tree | c6a308879c79fcaa9524e4cf9558691748f608c0 /include/linux/buffer_head.h | |
| parent | 9cc58f1eba46cbaafbc5eb0b519ba26ac1d0d26a (diff) | |
| download | linux-4a21aef42fc71e192dc10496e7ce004a3cd986d8.tar.xz | |
staging/lustre/llite: 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.
Signed-off-by: Bobi Jam <bobijam.xu@intel.com>
Reviewed-on: http://review.whamcloud.com/23032
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-8683
Reviewed-by: wangdi <di.wang@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/buffer_head.h')
0 files changed, 0 insertions, 0 deletions
