All of lore.kernel.org
 help / color / mirror / Atom feed
* ETIMEDOUT in nfsd?
@ 2004-08-03  8:15 Greg Banks
  2004-08-03 19:16 ` J. Bruce Fields
  0 siblings, 1 reply; 8+ messages in thread
From: Greg Banks @ 2004-08-03  8:15 UTC (permalink / raw)
  To: Neil Brown; +Cc: Linux NFS Mailing List

G'day,

I'm looking at porting to 2.6 the SGI ProPack code for supporting
Hierarchical Storage Managers in nfsd.  Basically, this comprises 
telling the filesystem to do stuff non-blocking at various times
(read, write and setattr) and converting the resulting -EAGAIN
when the HSM has to go out to tape into NFSERR_JUKEBOX to the
client.

So I was somewhat surprised to see that in 2.6, the mapping from
Linux errno to NFS error in fs/nfsd/nfsproc.c:nfserrno() maps
-EAGAIN to nfserr_dropit, causing nfsd_dispatch to just drop the
call and not reply.  Furthermore I need to return the network
error -ETIMEDOUT to get NFSERR_JUKEBOX.  I don't get it...can
someone explain both of these?

Greg.
-- 
Greg Banks, R&D Software Engineer, SGI Australian Software Group.
I don't speak for SGI.


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-08-06 18:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-03  8:15 ETIMEDOUT in nfsd? Greg Banks
2004-08-03 19:16 ` J. Bruce Fields
2004-08-04  7:35   ` Greg Banks
2004-08-04 14:13     ` J. Bruce Fields
2004-08-05  2:26       ` Greg Banks
2004-08-05 14:21         ` J. Bruce Fields
2004-08-06  0:50           ` Greg Banks
2004-08-06 18:20             ` J. Bruce Fields

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.