[LU-10770] OBD_FREE could be used instead of OBD_FREE_LARGE in mdt_hsm_cdt_start Created: 05/Mar/18 Updated: 27/Jul/18 Resolved: 27/Jul/18 |
|
| Status: | Closed |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Sergey Cheremencev | Assignee: | Sergey Cheremencev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | patch | ||
| Severity: | 3 |
| Project: | HSM |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
OBD_ALLOC_LARGE(thread_data.request, request_sz);
if (!thread_data.request) {
set_cdt_state(cdt, CDT_STOPPED);
RETURN(-ENOMEM);
}
task = kthread_run(mdt_coordinator, &thread_data, "hsm_cdtr");
if (IS_ERR(task)) {
rc = PTR_ERR(task);
set_cdt_state(cdt, CDT_STOPPED);
OBD_FREE(thread_data.request, request_sz); <======================
|
| Comments |
| Comment by Gerrit Updater [ 05/Mar/18 ] |
|
Sergey Cheremencev (c17829@cray.com) uploaded a new patch: https://review.whamcloud.com/31512 |
| Comment by Sergey Cheremencev [ 27/Jul/18 ] |
|
The issue doesn't exist after landing " Thus we can close it. |