[LU-7912] Stale comment in osc_page_transfer_add Created: 24/Mar/16 Updated: 25/Nov/19 Resolved: 25/Nov/19 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.13.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Oleg Drokin | Assignee: | Oleg Drokin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
Ever since second patch in static void osc_page_transfer_add(const struct lu_env *env, struct osc_page *opg, enum cl_req_type crt) { struct osc_object *obj = cl2osc(opg->ops_cl.cpl_obj); /* ops_lru and ops_inflight share the same field, so take it from LRU * first and then use it as inflight. */ osc_lru_use(osc_cli(obj), opg); } |
| Comments |
| Comment by Gerrit Updater [ 24/Mar/16 ] |
|
Oleg Drokin (oleg.drokin@intel.com) uploaded a new patch: http://review.whamcloud.com/19115 |
| Comment by Oleg Drokin [ 24/Mar/16 ] |
|
it should also be noted that we have a bunch of comments referencing ll_cl_init(), but ll_cl_init() itself is long gone. |
| Comment by Oleg Drokin [ 24/Mar/16 ] |
|
Also in CL_PAGE_INVOID_REVERSE macro there's "/* get to the bottom page. */" comment that makes no sense anymore |
| Comment by Oleg Drokin [ 24/Mar/16 ] |
|
cl_page_top() is declared, but the body is long gone, so should be removed too. |
| Comment by Oleg Drokin [ 26/Mar/16 ] |
|
cl_locks_prune is also long gone after simplification, but is still referenced in cl_locks_prunelustre/osc/osc_cl_internal.h |
| Comment by Oleg Drokin [ 26/Mar/16 ] |
|
cl_io_cancel is no longer used and should be removed |
| Comment by Gerrit Updater [ 12/Jul/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/19115/ |
| Comment by Joseph Gmitter (Inactive) [ 25/Nov/19 ] |
|
Patch has landed for 2.13.0 |