![]() | |||||||||||
Messages in this thread |
Trond Myklebust wrote: >På to , 26/08/2004 klokka 14:38, skreiv David Greaves: > > >>David Rolenc wrote: >> >> >> >>>I am trying to get O_STREAMING (Robert Love patch for 2.4) behavior in >>>2.6 and just a glance at fadvise.c suggests that POSIX_FADV_NOREUSE is >>>not implemented any differently than POSIX_FADV_WILLNEED. Am I missing >>>something? I want to read data from disk with readahead and drop the >>>data from the page cache as soon as I am done with it. Do I have to >>>call fadvise with POSIX_FADV_DONTNEED after every read? >>> >>> >>And will this work over nfs? >> >> > >What do you mean? > >The client will of course respect fadvise() if the generic VM code >supports it, but there is no NFS protocol support for this, so the >client is not able to communicate your fadvise call on to the server. > > Perfect answer thank you I want my nfs client to communicate this to my nfs server. Thus avoiding my nfs server having a cache of useless video. I can see this becoming an important benefit for video distribution (an area linux is likely to see more of) David - 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/ | ||||||||||
| Last update: 2005-03-22 14:05 [from the cache] ©2003-2008 | |||||||||||