[LU-12951] LL_IOC_GETOBDCOUNT return wrong MDT counts Created: 08/Nov/19 Updated: 17/Dec/19 Resolved: 17/Dec/19 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.14.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Wang Shilong (Inactive) | Assignee: | Wang Shilong (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||
| Severity: | 3 | ||||||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||||||
| Description |
|
We used llapi_get_obd_count() to get MDT/OST counts, which call LL_IOC_GETOBDCOUNT However, we return lmv->lmv_mdt_descs.ltd_tgts_size as MDT count, this is not right. |
| Comments |
| Comment by Gerrit Updater [ 08/Nov/19 ] |
|
Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/36713 |
| Comment by Sergey Cheremencev [ 15/Nov/19 ] |
|
Hello, found this only after sending a patch from Suppose to use https://review.whamcloud.com/#/c/36768/ as more general solution. Thanks Sergey |
| Comment by Sergey Cheremencev [ 18/Nov/19 ] |
|
Lai pointed to problems at proposed patch https://review.whamcloud.com/#/c/36768/. |
| Comment by Gerrit Updater [ 17/Dec/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36713/ |
| Comment by Peter Jones [ 17/Dec/19 ] |
|
Landed for 2.14 |