Messages in this thread | | | Subject | Re: O_STREAMING has insufficient info - how about fadvise() ? | From | Alan Cox <> | Date | 10 Oct 2002 17:08:48 +0100 |
| |
On Thu, 2002-10-10 at 16:34, Andrew Morton wrote: > In 2.5, the radix tree gang lookup thing will do this search in O(zilch). > > The other problem with fadvise is writebehind - there are up to > 30 seconds' worth of dirty pages behind the application's write > cursor which fadvise wouldn't be able to do anything with. So > the application would end up running fadvise(offset=0, length=current-pos) > all the time. Which is equivalent to O_STREAMING.
The write side is actually not very interesting. We can do that already with fsync in a thread.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |