[LU-16314] Migrate from %p to %pK by default for printing pointers Created: 15/Nov/22 Updated: 06/Sep/23 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Shaun Tancheff | Assignee: | Shaun Tancheff |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
Periodically when debugging a lustre issue on newer kernels developers run into the default behavior of %p to hash the address. While this safe default hinders bad actors it also frustrates developers. Lets start by defaulting %p to %pK and slowly decorating pointers with the available pointer decorators. See: https://docs.kernel.org/core-api/printk-formats.html |
| Comments |
| Comment by Gerrit Updater [ 15/Nov/22 ] |
|
"Shaun Tancheff <shaun.tancheff@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49159 |
| Comment by Gerrit Updater [ 29/Nov/22 ] |
|
"Shaun Tancheff <shaun.tancheff@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49271 |
| Comment by Gerrit Updater [ 14/Dec/22 ] |
|
"Shaun Tancheff <shaun.tancheff@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49405 |
| Comment by Gerrit Updater [ 05/Jun/23 ] |
|
"Shaun Tancheff <shaun.tancheff@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51212 |
| Comment by Gerrit Updater [ 05/Jun/23 ] |
|
"Shaun Tancheff <shaun.tancheff@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51213 |
| Comment by Gerrit Updater [ 06/Jun/23 ] |
|
"Shaun Tancheff <shaun.tancheff@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51231 |
| Comment by Gerrit Updater [ 06/Aug/23 ] |
|
"Shaun Tancheff <shaun.tancheff@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51877 |
| Comment by Gerrit Updater [ 06/Sep/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/51212/ |