[PATCH 0/3] NFS: Eliminating the Annoying 15sec Delay with NFS mounts.

Steve Dickson SteveD at redhat.com
Thu Nov 21 21:03:52 UTC 2013



On 21/11/13 13:06, Josh Boyer wrote:
> On Thu, Nov 21, 2013 at 11:57 AM, Steve Dickson <SteveD at redhat.com> wrote:
>> As I'm sure you've notice the 15sec delay on all NFS mounts.
>> This is because the kernel now tries to see if it should
>> use Kerberos in the mount setup. If Kerberos is not set up
>> (aka rpc.gssd is not running) it takes the kernel 15sec
>> to figure that out (aka the upcall times out).
>>
>> The current workaround is to start rpc.gssd, but again,
>> if Kerberos is not set up, rpc.gssd spews tons of message
>> in /var/log/messages for every mount. Plus putting
>> a user level daemon in the mount path is and never
>> was a good idea... IMHO...
>>
>> Jeff Layton (jlayton at redhat.com) has come up with
>> some kernel patches what will detect whether the rpc.gssd
>> daemon is or is not running. When rpc.gssd is not
>> running the mount continues with no delay. I've
>> ported them to both F19 and F20.
> 
> Thanks Jeff!  Those are both at 3.11.y right now, but will be moving
> to 3.12 soonish.  The patches should mostly apply to 3.12 as well,
> correct?
In theory... ;-) Let me know if they don't... 

> 
>> Now, These patches are working their way upstream atm and
>> the final version could be slightly different than
>> these... I doubt it... But until then... The 15 sec
>> delay will be dead! Thank very much Jeff Layton!!!
> 
> Given they all have Trond's signoff, I'm guessing they're pretty much
> set.  We'll look at getting them in shortly.
You never know... ;-) I'll keep an eye out... 

steved.

> 
> josh
> 


More information about the kernel mailing list