Bug 1436265

Summary: Smb.conf options for performance improvements [RHEL6]
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Guenther Deschner <gdeschner>
Component: sambaAssignee: Michael Adam <madam>
Status: CLOSED ERRATA QA Contact: Vivek Das <vdas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rhgs-3.3CC: amukherj, anoopcs, bmohanra, gdeschner, madam, pgurusid, rcyriac, rhinduja, rhs-smb, sbhaloth, ssaha
Target Milestone: ---   
Target Release: RHGS 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: samba-4.6.0-0 Doc Type: Bug Fix
Doc Text:
In the samba configuration, by default the 'posix locking' is enabled and 'stat cache' is disabled. Enabling 'posix locking' sends the file lock request to the bricks too, and disabling 'stat cache' blocks samba to cache certain information at the samba layer. This led to decrease in performance of SMB access of Red Hat Gluster Storage volumes As a fix, the following two options are included in the samba configuration file: posix locking = No stat cache = Yes Due to this, a slight improvement in the performance is observed.
Story Points: ---
Clone Of: 1428368 Environment:
Last Closed: 2017-09-21 04:46:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1428368    
Bug Blocks: 1417147    

Comment 5 Poornima G 2017-09-07 09:20:12 UTC
The doc changes looks good

Comment 7 errata-xmlrpc 2017-09-21 04:46:03 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2017:2778