b=17197
roll back this patch, it causes lbugs.
if (zero) {
/* check whether it is in stride I/O mode*/
if (!index_in_stride_window(index, ras, inode)) {
- if (ras->ras_consecutive_stride_requests++ == 0)
- ras_update_stride_detector(ras, index);
- else
- ras_stride_reset(ras);
ras_reset(ras, index);
ras->ras_consecutive_pages++;
+ ras_stride_reset(ras);
GOTO(out_unlock, 0);
} else {
ras->ras_consecutive_pages = 0;