Whamcloud - gitweb
Land changes to the read-ahead algorithm improving its behavior for random
authornikita <nikita>
Tue, 20 Sep 2005 13:24:54 +0000 (13:24 +0000)
committernikita <nikita>
Tue, 20 Sep 2005 13:24:54 +0000 (13:24 +0000)
commit5787b1bcc5f7914bd1197a8f2dd1485f87fa3855
treede9713d16cc10fd668729deec3b7ca729522370d
parentcffe3443ac693bae817a695e3a473ad71fefd914
Land changes to the read-ahead algorithm improving its behavior for random
reads:

 - always try to read-ahead at least file region that will be read by read(2)
   call.

 - try to detect random reads, and avoid excessive read-ahead in that case.

b=6252
r=adilger
lustre/ChangeLog
lustre/llite/file.c
lustre/llite/llite_internal.h
lustre/llite/rw.c