Only call posix_fadvise() if we know we're going to read the data.
commit3bcefbe89078778384448f8ae406b0a9d7827091
authorAlberto Bertogli <albertito@blitiri.com.ar>
Fri, 3 Apr 2009 04:08:15 +0000 (3 01:08 -0300)
committerAlberto Bertogli <albertito@blitiri.com.ar>
Fri, 3 Apr 2009 04:08:15 +0000 (3 01:08 -0300)
tree0a4767437fc424073a4ef46cc9ed5396e13eec38
parent80a902981843f3579fcb36d4123c5f00d42ce6d4
Only call posix_fadvise() if we know we're going to read the data.

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
libjio/trans.c