[PATCH] smbd: Enable leases by default

Ralph Böhme slow at samba.org
Wed Jul 20 20:38:06 UTC 2016


On Wed, Jul 20, 2016 at 05:58:47PM +0200, Ralph Böhme wrote:
> On Wed, Jul 20, 2016 at 12:39:13PM +0200, Volker Lendecke wrote:
> > Hi!
> > 
> > Is it time for this?
> 
> +1
> 
> We should add this to WHATSNEW, I will post a patch if noone else is
> faster.

attached. Please review&push if ok together with Volker's original
patch.

Cheerio!
-slow
-------------- next part --------------
From f10d1ca40538cafcc2a8c566ac201af52864140d Mon Sep 17 00:00:00 2001
From: Ralph Boehme <slow at samba.org>
Date: Wed, 20 Jul 2016 22:32:05 +0200
Subject: [PATCH] WHATSNEW: SMB 2.1 leases enabled by default

Signed-off-by: Ralph Boehme <slow at samba.org>
---
 WHATSNEW.txt | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index 91f545d..90957e3 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -25,6 +25,14 @@ The ldap server has support for the LDAP_SERVER_NOTIFICATION_OID
 control. This can be used to monitor the active directory database
 for changes.
 
+SMB 2.1 Leases enabled by default
+---------------------------------
+
+Leasing is an SMB 2.1 (and higher) feature which allows clients to
+aggressively cache files locally above and beyond the caching allowed
+by SMB 1 oplocks. This feautre was disabled in previous releases, but
+the SMB2 leasing code is now considered mature and stable enough to be
+enabled by default.
 
 REMOVED FEATURES
 ================
-- 
2.7.4



More information about the samba-technical mailing list