Bug 221010

Summary: [autofs] provide NIS automounter maps with rewriting of self-hosted locations to make them nullfs
Product: Base System Reporter: G. Paul Ziemba <p-fbsd-bugs>
Component: miscAssignee: Edward Tomasz Napierala <trasz>
Status: Closed FIXED    
Severity: Affects Many People CC: emaste, trasz
Priority: --- Keywords: patch
Version: 11.0-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
/etc/autofs/include_nis none

Description G. Paul Ziemba 2017-07-26 00:01:11 UTC
Created attachment 184715 [details]
/etc/autofs/include_nis

I recently switched from amd to autofs for my nfs needs.

After experiencing a 75-frame-deep kernel stack overflow, I wanted the new automounter to perform nullfs mounts on locally-served file systems so that i/o wouldn't loop all the way through NFS client and server paths. (in the past, amd provided this optimization)

Attached is a first cut at providing NIS automounter maps with rewriting of self-hosted locations to make them nullfs.
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-11-04 14:38:08 UTC
A commit references this bug:

Author: trasz
Date: Sat Nov  4 14:38:00 UTC 2017
New revision: 325392
URL: https://svnweb.freebsd.org/changeset/base/325392

Log:
  Add NIS automounter map, which supports rewriting of self-hosted locations
  to make them nullfs.

  PR:		221010
  Submitted by:	G. Paul Ziemba
  MFC after:	2 weeks

Changes:
  head/etc/autofs/Makefile
  head/etc/autofs/include_nis
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-04-16 15:57:55 UTC
A commit references this bug:

Author: trasz
Date: Mon Apr 16 15:57:19 UTC 2018
New revision: 332585
URL: https://svnweb.freebsd.org/changeset/base/332585

Log:
  MFC r325392:

  Add NIS automounter map, which supports rewriting of self-hosted locations
  to make them nullfs.

  PR:		221010

Changes:
_U  stable/11/
  stable/11/etc/autofs/Makefile
  stable/11/etc/autofs/include_nis