Whamcloud - gitweb
Branch HEAD
authorbobijam <bobijam>
Thu, 3 Apr 2008 03:22:17 +0000 (03:22 +0000)
committerbobijam <bobijam>
Thu, 3 Apr 2008 03:22:17 +0000 (03:22 +0000)
commitec16eeabba2869a606c6221cb1ca2e2d7ffc3b4d
treec75da49939246bc88deb5119ca081d09231024e9
parent148b4b203b1a88737ee263a136cafd3994a73efe
Branch HEAD
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