[LU-1832] double list add in ldlm Created: 05/Sep/12 Updated: 08/Nov/12 Resolved: 08/Nov/12 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.4.0 |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Peng Tao | Assignee: | Keith Mannthey (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | patch | ||
| Rank (Obsolete): | 8138 |
| Description |
|
When kernel has CONFIG_DEBUG_LIST on, there are some warnings about double list add in ldlm code. It is because ldlm_granted_list_add_lock() may add a lock to its own places. It is ok to do so but it is better to change code to suppress such warnings so we can use CONFIG_DEBUG_LIST to detect other bugs. |
| Comments |
| Comment by Peng Tao [ 05/Sep/12 ] |
|
patch submitted: |
| Comment by Peter Jones [ 08/Nov/12 ] |
|
Landed for 2.4 |