summaryrefslogtreecommitdiff
path: root/mausezahn.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'mausezahn.zsh')
0 files changed, 0 insertions, 0 deletions
git.cgi/linux/net-next.git/tree/?h=nds-private-remove&id=47137ad380a4d4c738f246bd792b76fd403219ce'>1274c971f13755c73b6669bdb3531a6506378bb9 parent50dd90bab8745fe88e1e791dd6dfe2d5053c3981 (diff)
staging: lustre: llite: update ras stride offset
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. Signed-off-by: Bobi Jam <bobijam.xu@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5263 Reviewed-on: http://review.whamcloud.com/11181 Reviewed-by: Fan Yong <fan.yong@intel.com> Reviewed-by: wang di <di.wang@intel.com> Reviewed-by: Oleg Drokin <oleg.drokin@intel.com> Signed-off-by: James Simmons <jsimmons@infradead.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat
-rw-r--r--drivers/staging/lustre/lustre/llite/rw.c18
1 files changed, 15 insertions, 3 deletions
diff --git a/drivers/staging/lustre/lustre/llite/rw.c b/drivers/staging/lustre/lustre/llite/rw.c