Bug 221010 - [autofs] provide NIS automounter maps with rewriting of self-hosted locations to make them nullfs
Summary: [autofs] provide NIS automounter maps with rewriting of self-hosted locations...
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 11.0-STABLE
Hardware: Any Any
: --- Affects Many People
Assignee: Edward Tomasz Napierala
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2017-07-26 00:01 UTC by G. Paul Ziemba
Modified: 2018-04-16 16:34 UTC (History)
2 users (show)

See Also:


Attachments
/etc/autofs/include_nis (5.06 KB, application/x-awk)
2017-07-26 00:01 UTC, G. Paul Ziemba
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 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 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