[PATCH 011/124] staging: lustre: llite: update ras stride offset

2016-09-18 Thread James Simmons
From: Bobi Jam When a read ahead does not reach the end of the region reserved from ras, we'd set ras::ras_next_readahead back to where we left off; For stride read ahead, it needs to make sure that the offset is no less than ras_stride_offset, so that the stride read ahead

[PATCH 011/124] staging: lustre: llite: update ras stride offset

2016-09-18 Thread James Simmons
From: Bobi Jam When a read ahead does not reach the end of the region reserved from ras, we'd set ras::ras_next_readahead back to where we left off; For stride read ahead, it needs to make sure that the offset is no less than ras_stride_offset, so that the stride read ahead can work correctly.