[LU-16568] Call Parser_exit() under lfs and lctl to gracefully exit Created: 17/Feb/23 Updated: 01/Mar/23 Resolved: 01/Mar/23 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.16.0 |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Arshad Hussain | Assignee: | Arshad Hussain |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
Pair Parser_exit() with Parser_init() call under lfs and lctl. Which was not done earlier. lfs and lctl binary both calls same set of routines under libcfs/libcfs/util/parser.c. So, although both are different binarys, they could be handled under same ticket. This also free's memory allocated via strdup(). |
| Comments |
| Comment by Gerrit Updater [ 17/Feb/23 ] |
|
"Arshad Hussain <arshad.hussain@aeoncomputing.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50039 |
| Comment by Gerrit Updater [ 01/Mar/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50039/ |
| Comment by Peter Jones [ 01/Mar/23 ] |
|
Landed for 2.16 |