diff options
author | Ralph Wuerthner <ralph.wuerthner@de.ibm.com> | 2016-01-12 16:00:24 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2018-01-06 00:07:17 +0100 |
commit | 996249571d0e8f9285d1b714b1c36d66e7649271 (patch) | |
tree | 8f21fdf268e8e4e1f6f72de7a4e2e651d8ac0600 /ctdb/include | |
parent | 326df161736abc16fb3bd35a18a3e55a44fb3c5d (diff) | |
download | samba-996249571d0e8f9285d1b714b1c36d66e7649271.tar.gz |
vfs_fileid: add "fstype/mntdir deny/allow list" option
When using the fsname or fsid algorithm a stat() and statfs() call is
required for all mounted file systems to generate the file_id. If e.g.
an NFS file system is unresponsive such a call might block and the smbd
process will become unresponsive. Add "fileid:fstype deny",
"fileid:fstype allow", "fileid:mntdir deny", and "fileid:mntdir allow"
options to ignore potentially unresponsive file systems.
See also https://lists.samba.org/archive/samba-technical/2016-January/111553.html
for a discussion about why this is useful.
Signed-off-by: Ralph Wuerthner <ralph.wuerthner@de.ibm.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'ctdb/include')
0 files changed, 0 insertions, 0 deletions