Skip to content

Junctions should inherit parent's export options

Chuck Lever linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8mountd: Warn when a broken junction is encounteredutils/mountd/cache.c+14 -50 replies
2/8mountd: Use static buffer when constructing junction export optionsutils/mountd/cache.c+5 -310 replies
3/8mountd: Set e_fslocdata field directlyutils/mountd/cache.c+23 -140 replies
4/8mountd: Add lookup_export_parent()utils/mountd/cache.c+70 -90 replies
5/8mountd: Junctions inherit parent export's optionsutils/mountd/cache.c+35 -200 replies
6/8mountd: Add exportent_release()support/export/export.c support/include/exportfs.h+13 -70 replies
7/8mountd: Dynamically allocate exportent that represents junctionsutils/mountd/cache.c+31 -240 replies
8/8mountd: Simplify "no junction support" caseutils/mountd/cache.c+19 -131 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] Junctions should inherit parent's export options

Following suggestions by Steve and Bruce, I've at long last implemented a mechanism by which junctions inherit the export options of their parent exports.

While I was there, I took the opportunity to clean up the junction resolution logic.

---

Chuck Lever (8):
mountd: Simplify "no junction support" case
mountd: Dynamically allocate exportent that represents junctions
mountd: Add exportent_release()
mountd: Junctions inherit parent export's options
mountd: Add lookup_export_parent()
mountd: Set e_fslocdata field directly
mountd: Use static buffer when constructing junction export options
mountd: Warn when a broken junction is encountered

 support/export/export.c    |   19 ++--
 support/include/exportfs.h |    1 
 utils/mountd/cache.c       |  217 ++++++++++++++++++++++++++++++--------------
 3 files changed, 162 insertions(+), 75 deletions(-)
Signature · 1 line
Chuck Lever