Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-16314

Migrate from %p to %pK by default for printing pointers

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • Lustre 2.16.0
    • Lustre 2.16.0
    • None
    • 3
    • 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

      Attachments

        Activity

          People

            stancheff Shaun Tancheff
            stancheff Shaun Tancheff
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: