Commit e051cc65 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Tell the OS we mostly reqd files sequentially

parent 89fddcd3
...@@ -131,6 +131,7 @@ static int Open (vlc_object_t *p_this) ...@@ -131,6 +131,7 @@ static int Open (vlc_object_t *p_this)
p_sys->fd = fd; p_sys->fd = fd;
p_access->info.i_size = st.st_size; p_access->info.i_size = st.st_size;
posix_fadvise (fd, 0, 0, POSIX_FADV_SEQUENTIAL);
return VLC_SUCCESS; return VLC_SUCCESS;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment