[LU-13095] Cancel locks in ELC list when errors occurs Created: 20/Dec/19 Updated: 21/Dec/19 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Qian Yingjin | Assignee: | Qian Yingjin |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
In MDC layer, if it fails when get SELinux policy info, it should cancel all previous locks in the ELC list. |
| Comments |
| Comment by Gerrit Updater [ 20/Dec/19 ] |
|
Yingjin Qian (qian@ddn.com) uploaded a new patch: https://review.whamcloud.com/37078 |
| Comment by Mikhail Pershin [ 21/Dec/19 ] |
|
Could you explain what problems appeared due to this issue? Is it lock timeouts on server and client eviction or lost lock references on client? |
| Comment by Qian Yingjin [ 21/Dec/19 ] |
|
In mdc_resource_get_unused_res, we add the lock refcount in the cancel list, but when errors occurs (failed to get SELinux policy), it does not put the lock refcount... |
| Comment by Mikhail Pershin [ 21/Dec/19 ] |
|
Right, that is what I was thinking. |