From 8daa83a594a2e98f39d764422bfbdbc62c9efd44 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 19:20:00 +0200 Subject: Adding upstream version 2:4.20.0+dfsg. Signed-off-by: Daniel Baumann --- docs-xml/smbdotconf/tuning/strictsync.xml | 40 +++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 docs-xml/smbdotconf/tuning/strictsync.xml (limited to 'docs-xml/smbdotconf/tuning/strictsync.xml') diff --git a/docs-xml/smbdotconf/tuning/strictsync.xml b/docs-xml/smbdotconf/tuning/strictsync.xml new file mode 100644 index 0000000..f2e3788 --- /dev/null +++ b/docs-xml/smbdotconf/tuning/strictsync.xml @@ -0,0 +1,40 @@ + + + This parameter controls whether Samba honors a request + from an SMB client to ensure any outstanding operating system + buffer contents held in memory are safely written onto stable + storage on disk. If set to yes, which is + the default, then Windows applications can force the smbd server + to synchronize unwritten data onto the disk. If set to + no then smbd will ignore client + requests to synchronize unwritten data onto stable storage on + disk. + + In Samba 4.7.0, the default for this parameter changed from + no to yes to better + match the expectations of SMB2/3 clients and improve application + safety when running against smbd. + + The flush request from SMB2/3 clients is handled + asynchronously inside smbd, so leaving the parameter as the default + value of yes does not block the processing of + other requests to the smbd process. + + Legacy Windows applications (such as the Windows 98 explorer + shell) seemed to confuse writing buffer contents to the operating + system with synchronously writing outstanding data onto stable storage + on disk. Changing this parameter to no means that + smbd + 8 will ignore the Windows + applications request to synchronize unwritten data onto disk. Only + consider changing this if smbd is serving obsolete SMB1 Windows clients + prior to Windows XP (Windows 98 and below). There should be no need to + change this setting for normal operations. + + +sync always +yes + -- cgit v1.2.3