linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* NFSv2/3 vs v4 error codes?
@ 2014-09-10 22:16 Christoph Hellwig
  2014-09-11 19:03 ` J. Bruce Fields
  0 siblings, 1 reply; 4+ messages in thread
From: Christoph Hellwig @ 2014-09-10 22:16 UTC (permalink / raw)
  To: linux-nfs

As a followup to the fallocate discussion I checked what we map ENODEV
to in nfsd.  Turns out we map it to NFSERR_NODEV, which doesn't exist
in eiter NFSv4.0 nor NFSv4.1 despite the comment in
include/uapi/linux/nfs.h claiming otherwise.  I also just ran into
another issue where nfserrno translates a large lits of errors into
NFSERR_JUKEBOX, but for v4 we'd really want NFSERR_DELAY instead for
most of them.

Is it time for a version specific errno mapping?

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

end of thread, other threads:[~2014-09-12 17:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-10 22:16 NFSv2/3 vs v4 error codes? Christoph Hellwig
2014-09-11 19:03 ` J. Bruce Fields
2014-09-11 20:02   ` Christoph Hellwig
2014-09-12 17:55     ` J. Bruce Fields

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).