Whamcloud - gitweb
Branch b1_6
authorbobijam <bobijam>
Thu, 3 Apr 2008 03:23:43 +0000 (03:23 +0000)
committerbobijam <bobijam>
Thu, 3 Apr 2008 03:23:43 +0000 (03:23 +0000)
commitd6fc768ba8dcb8f6d9427693ddf43be727177de6
tree8b77a9402235ae1dc16652d44663be1fd293ed28
parent55f1dc8d4e5f3d80a1496b097a64f8bdf7f4d74e
Branch b1_6
b=15288
i=wangdi, shadow

fix stride_len assertion.

when current ra window is consumed, and 2 consequent read requires to enlarge
the read ahead window, and the enlargement action met window_start 0,
window_len 80, because the latest read consumes the whole window content,
stride_offset is 80, so the left of current ra window is 0, and the assertion
of stride_len should be ">= 0" rather than "> 0"
lustre/llite/rw.c