[LU-2063] HSM - Open Lock Issue Created: 01/Oct/12  Updated: 29/Jan/13  Resolved: 29/Jan/13

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.4.0
Fix Version/s: None

Type: Story Priority: Minor
Reporter: Jodi Levi (Inactive) Assignee: Jinshan Xiong (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Project: HSM
Rank (Obsolete): 4312

 Description   

This is for landing patches to master



 Comments   
Comment by Jinshan Xiong (Inactive) [ 09/Nov/12 ]

For HSM implementation, if a file is being opened, it shouldn't be picked up for release. This will have problem with open lock as the client can cache this lock for a quite long time, until there is too much cached lock on the client, or the permission of the file is changed. During the time the open lock is cached by clients, the MDT will consider this file is being opened so HSM can't pick up that file for release.

The solution would be to shrink the LRU expiration time for open dlm lock so that it can be canceled earlier.

The good thing is that open lock is only used for NFSD in lustre implementation. This means the problem is not that much critical, we just need to inform the CEA that HSM may not work well if lustre clients are exported for NFS use. But in the long term, we still need to solve the problem.

Comment by Jinshan Xiong (Inactive) [ 29/Jan/13 ]

We changed the process of releasing file that we should request EX mode INODE_OPENLOCK before checking if there still exists any open handler on the MDT. This is being implemented by CEA in the file release patch. This ticket can be closed.

Comment by Jinshan Xiong (Inactive) [ 29/Jan/13 ]

We changed the process of releasing file that we should request EX mode INODE_OPENLOCK before checking if there still exists any open handler on the MDT. This is being implemented by CEA in the file release patch. This ticket can be closed.

Comment by Jinshan Xiong (Inactive) [ 29/Jan/13 ]

We changed the process of releasing file that we should request EX mode INODE_OPENLOCK before checking if there still exists any open handler on the MDT. This is being implemented by CEA in the file release patch. This ticket can be closed.

Comment by Jinshan Xiong (Inactive) [ 29/Jan/13 ]

We changed the process of releasing file that we should request EX mode INODE_OPENLOCK before checking if there still exists any open handler on the MDT. This is being implemented by CEA in the file release patch. This ticket can be closed.

Generated at Sat Feb 10 01:22:03 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.