From: Greg Banks Subject: Re: O_NONBLOCK for regular files Date: Wed, 13 Apr 2005 10:45:53 +1000 Message-ID: <1113353153.1956.481.camel@hole.melbourne.sgi.com> References: <405C0DC0.3E61994@melbourne.sgi.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: Neil Brown , Linux NFS Mailing List Return-path: To: Linux Filesystem Development List , Al Viro In-Reply-To: <405C0DC0.3E61994@melbourne.sgi.com> Sender: nfs-admin@lists.sourceforge.net Errors-To: nfs-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: List-Id: linux-fsdevel.vger.kernel.org G'day, On Sat, 2004-03-20 at 20:24, Greg Banks wrote: > Jamie Lokier wrote: > > Christoph Hellwig wrote: > > > It's used to [...] return EAGAIN to the nfs server so it doesn't block all > > > nfsd threads on possible long-enduring HSM operations. > > > > How does nfsd get notified when the operation is possible? > > It doesn't; the nfsd sends an RPC reply containing the NFSERR_JUKEBOX > error to the NFS client, which sleeps and retries the operation after a > few seconds. If the operation is not yet possible the cycle repeats. http://marc.theaimsgroup.com/?l=linux-fsdevel&m=107959907311576&w=2 This thread was started by Christoph Hellwig 13 months ago to discuss the possibility of using O_NONBLOCK in nfsd to make the combination of NFS and Hierarchical Storage Managers play nicely together. The thread petered out with no firm conclusion but no major objections either. There's now a patch to actually do it, see http://marc.theaimsgroup.com/?l=linux-nfs&m=111087383132762&w=2 Does anyone want to give a firm yea or nea to this approach? I'd really like to get this patch moving in the pipeline. Greg. -- Greg Banks, R&D Software Engineer, SGI Australian Software Group. I don't speak for SGI. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs