Project

General

Profile

Bug #6321

mountd: The IP to name translation is usually not needed in nfsauth_access()

Added by Marcel Telka about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
nfs - NFS server and client
Start date:
2015-10-12
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

The mountd is doing IP to name translation for every nfsauth request from kernel (see nfsauth_access() and the netdir_getbyaddr() call there), even such a name is not necessarily needed later in check_client(). We should change mountd to do the translation only in a case such translation is really needed. This might speedup some NFS setups.

History

#2

Updated by Marcel Telka about 4 years ago

  • Status changed from In Progress to Pending RTI
#3

Updated by Electric Monk about 4 years ago

  • Status changed from Pending RTI to Closed
  • % Done changed from 0 to 100

git commit a9685eaab1313767d1d4dac672c3a468519aa899

commit  a9685eaab1313767d1d4dac672c3a468519aa899
Author: Marcel Telka <marcel.telka@nexenta.com>
Date:   2015-11-03T01:56:05.000Z

    6321 mountd: The IP to name translation is usually not needed in nfsauth_access()
    Reviewed by: Gordon Ross <gordon.ross@nexenta.com>
    Approved by: Robert Mustacchi <rm@joyent.com>

Also available in: Atom PDF