[LTP] [PATCH] [RFC] readahead02: Fix on Btrfs
Cyril Hrubis
chrubis@suse.cz
Thu Oct 6 13:16:38 CEST 2016
Hi!
> > > If this patch goes through, then reading read_ahead_kb becomes
> > > useless:
> > > https://lkml.org/lkml/2016/7/25/308
> > >
> > > Perhaps, we should stop focusing on max size. We could change it to start
> > > with size of entire file, and for subsequent calls update file offset as
> > > max(MIN_SANE_READAHEAD, cache_increase_since_last_call), where
> > > MIN_SANE_READAHEAD
> > > would be some small arbitrary number. So there would be a guarantee
> > > it can eventually finish and any smaller readahead than that number would
> > > be considered a failure.
> >
> > Sounds reasonable. Will you prepare a patch or should i work on it?
>
> I want to finish writev patches first (very visible 4.8 syscall failure,
> if I don't count scenario in this thread). If you need this ASAP then
> go ahead, otherwise I can pick it up later.
No rush, this test wasn't working on Btrfs for quite some time.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list