[LU-2152] network index transfer and IAM Created: 11/Oct/12 Updated: 19/Apr/13 Resolved: 05/Nov/12 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.4.0 |
| Fix Version/s: | Lustre 2.4.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Johann Lombardi (Inactive) | Assignee: | Niu Yawei (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 5174 |
| Description |
|
While chasing a reintegration issue in This also shows us that we don't have enough tests with multiple IDs and we should definitely add a test case exercising the code to transfer the global/slave index in multiple bulks. |
| Comments |
| Comment by Niu Yawei (Inactive) [ 12/Oct/12 ] |
|
osd_it_iam_load()-> iam_it_load() -> iam_it_iget() -> __iam_it_get(it, 1) -> iam_path_lookup(patch, 1) -> iam_lfix_ilookup() static int iam_lfix_ilookup(struct iam_leaf *l, const struct iam_ikey *ik) { assert(0); return IAM_LOOKUP_OK; } so the ilookup() isn't implemented for lfix at all. (the assert(0) must be filtered when compiling, that's why it was not triggered). I'm getting confused with it->load() & it->get(), from the comment, looks their functionality is quite similar, (in fact, for quota accounting, load() & get() are exactly same) so I'm going to change the osd_it_iam_load() to make it call iam_it_get() instead of iam_it_iget() (which is half implemented). |
| Comment by Niu Yawei (Inactive) [ 15/Oct/12 ] |
| Comment by Niu Yawei (Inactive) [ 05/Nov/12 ] |
|
patch landed for 2.4 |