[lkml]   [2011]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [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 Myklebust
Linux NFS client maintainer


 \ /
  Last update: 2011-11-18 19:25    [W:0.089 / U:4.992 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site