[LU-12607] Use zfs internals to manage the zrlock Created: 29/Jul/19  Updated: 18/Feb/20

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.12.2
Fix Version/s: None

Type: Bug Priority: Major
Reporter: James A Simmons Assignee: Alex Zhuravlev
Resolution: Unresolved Votes: 0
Labels: ORNL
Environment:

lustre servers using ZFS 0.8.1+


Issue Links:
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

The fix for LU-12510 was only a temporary work around. Currently Lustre manages the zrlock directly but this can collide with ZFS doing with the same thing which can lead to dead locks. The proper fix it so use the ZFS lock management functions provided by ZFS. https://github.com/zfsonlinux/zfs/pull/9027 landed a patch to export the needed functions for Lustre to use. This ticket will track the proper locking implementation.



 Comments   
Comment by Peter Jones [ 29/Jul/19 ]

Alex will look into the longer term fix

Generated at Sat Feb 10 02:54:05 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.