From 7adc22e3cf66c48e50b1fbf569e69b9d5994c6c3 Mon Sep 17 00:00:00 2001 From: Tom Mortensen Date: Wed, 24 May 2023 09:35:14 -0700 Subject: [PATCH] Add Global Share Settings -> Permit exclusive shares --- languages/en_US/helptext.txt | 22 ++++++++++++++++------ plugins/dynamix/ShareSettings.page | 8 ++++++++ 2 files changed, 24 insertions(+), 6 deletions(-) diff --git a/languages/en_US/helptext.txt b/languages/en_US/helptext.txt index d9778efb2..406af2492 100644 --- a/languages/en_US/helptext.txt +++ b/languages/en_US/helptext.txt @@ -621,12 +621,9 @@ Share can *not* be deleted as long as it contains data. Be aware that some data :end :share_edit_exclusive_access_help: -When set to "yes" indicates a bind-mount directly to a pool has been set up for the share in the /mnt/user tree, provided the following -conditions are met: +When set to "Yes" indicates a synmlink directly to a pool has been set up for the share in the /mnt/user tree. -- Primary storage is a pool. -- Secondary storage is set to **none**. -- The share does not exist on any other volumes. +Refer to [Global Share Settings](Settings/ShareSettings) -> Permit exclusive shares. :end :share_edit_primary_storage_help: @@ -1447,6 +1444,19 @@ Uncheck all disks in order to not exclude any disks disks which represent a subset of the Included/Excluded disks defined here. :end +:shares_exclusive_shares_help: +If set to Yes, share directories under /mnt/user are actually symlinks to the share directory on a storage volume +provided the following conditions are met: + +* The Primary storage for a share is set to a pool. +* The Secondary storage for a share is set to **none**. +* The share exists on a single volume. +* The share is **not** exported over NFS. + +The advantage of *exclusive* shares is that transfers bypass the FUSE layer which may significantly +increase I/O performance. +:end + :shares_tunable_hard_links_help: If set to Yes then support the link() operation. @@ -1849,7 +1859,7 @@ The metric value is optional, it defaults to 1. Use it to select the preferred g :eth_network_extra_include_help: Enter one or more interface names or IP addresses which will be included in the list of listening interfaces for local system services. -This is particular useful when the user has created custom interfaces (e.g. tailscale VPN tunnel) which are used to access local system services. +This is particularly useful when you have created custom interfaces (e.g. tailscale VPN tunnel) which are used to access local system services. :end :eth_network_extra_exclude_help: diff --git a/plugins/dynamix/ShareSettings.page b/plugins/dynamix/ShareSettings.page index 4d1489d48..09fcc64e4 100644 --- a/plugins/dynamix/ShareSettings.page +++ b/plugins/dynamix/ShareSettings.page @@ -98,6 +98,14 @@ _(Excluded disk(s))_: :shares_excluded_disks_help: +_(Permit exclusive shares)_: +: + +:shares_exclusive_shares_help: + _(Tunable (support Hard Links))_: :