Bug 1637939

Summary: [RFE] We need additional aligments for a 4k block devices
Product: Red Hat Enterprise Linux 7 Reporter: Denis Chaplygin <dchaplyg>
Component: sanlockAssignee: David Teigland <teigland>
Status: CLOSED DUPLICATE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.7CC: agk, cluster-maint, jbrassow, rcyriac, rhandlin, salmy, seamurph, teigland
Target Milestone: rcKeywords: FutureFeature, Reopened
Target Release: 7.7   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-05 19:41:47 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:

Description Denis Chaplygin 2018-10-10 11:18:43 UTC
Description of problem: Existing 4k alignment uses 8MB for a lease, makeing it 8 times bigger compared to 512b aligment. 

This will heavilly increase size of sanlock based locks files in oVirt (up to tenth of gigabytes)

To decrease impact of that it would be great to have smaller aligments for a 4k block, like those:

 - ALIGN1M | SECTOR512: max_hosts 2000 (already implemented)
 - ALIGN1M | SECTOR4K:  max_hosts 250
 - ALIGN2M | SECTOR4K:  max_hosts 500
 - ALIGN4M | SECTOR4K:  max_hosts 1000
 - ALIGN8M | SECTOR4K:  max_hosts 2000 (already implemented)

Comment 14 David Teigland 2019-04-01 15:28:45 UTC
Configurable sector/lease sizes have been available for quite a long time.

Also see bug 1690511 "rebase sanlock package in 7.7".

Comment 16 Jonathan Earl Brassow 2019-04-01 19:31:24 UTC
This feature is not in RHEL7.6, but its inclusion is already accounted for in bug 1690511.

closing this bug as a duplicate.

*** This bug has been marked as a duplicate of bug 1690511 ***