Bug 591567

Summary: [RFE] Support cluster-wide leases on files in gfs2
Product: [Fedora] Fedora Reporter: Simo Sorce <ssorce>
Component: kernelAssignee: Steve Whitehouse <swhiteho>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: adas, ajb2, bmarzins, dougsland, gansalmon, itamar, jonathan, kernel-maint, nobody, rpeterso, steved, swhiteho
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 812133    
Attachments:
Description Flags
Old rhel4 patches to implement cluster-leases none

Description Simo Sorce 2010-05-12 14:58:45 UTC
In order to be able to server files over multiple protocols like SMB(2) / NFSv4, on active/active clusters (using CTDB for example), it is necessary to have support for cluster wide leases so that oplocks/delegations can be granted to clients.

Without gfs2 support you can't correctly grant oplocks/delegations to clients without risking file corruption.

Comment 2 Abhijith Das 2010-05-14 23:33:32 UTC
Created attachment 414191 [details]
Old rhel4 patches to implement cluster-leases

I wrote this patchset for rhel4 gfs way back in 2006. I'm just posting it here so we can borrow ideas from it if necessary. From what I remember about this, there were multiple glocks per inode to be held during open/close and this introduced a fair amount of overhead. We shelved the patchset due to this overhead and also because not many people (except samba) were wanting to use it.