[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1321640624.2653.5.camel@lade.trondhjem.org>
Date: Fri, 18 Nov 2011 20:23:44 +0200
From: Trond Myklebust <Trond.Myklebust@...app.com>
To: Jim Rees <rees@...ch.edu>
Cc: John Hughes <john@...va.COM>, Jeff Layton <jlayton@...hat.com>,
linux-nfs@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Don't hang user processes if Kerberos ticket for nfs4
mount expires
On Fri, 2011-11-18 at 12:54 -0500, Jim Rees wrote:
> Myklebust, Trond wrote:
>
> So what are they supposed to do without tickets? Crash?
>
> No, why would they want to do that?
>
> I feel like I've entered the Twilight Zone here, so please continue without
> me while I dig up the relevant background info.
The point is that if the server won't allow them to issue read or write
system calls, then there are 2 options available to them:
1. hang until someone renews their ticket
2. get an error which means crash, since most (all?) applications
aren't written according to the non-posix assumption that read
and write can return EACCES/EKEYEXPIRED errors.
Trond
--
Trond Myklebust
Linux NFS client maintainer
NetApp
Trond.Myklebust@...app.com
www.netapp.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists