IBM Support

IJ44213: REMOVING FILES/DIRS IN .PTRASH DIRECTORY INSIDE AFM FILESET PATH CAN TRIGGER RECOVERY AND DEADLOCK

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • The ptrash directory triggers recovery if the fileset is in
    dropped state. This recovery code
    tries to set the Ptrash as local
    where it tries to acquire XW lock
    on ptrash - which conflicts with
    the above operation which also holds XW lock on the ptrash
    directory while trying to queue the operation.
    

Local fix

  • Make sure that ptrash directory is
    always local before performing
    any operations inside them.
    

Problem summary

  • The ptrash directory triggers recovery if the fileset is in
    dropped state. This recovery code
    tries to set the Ptrash as local
    where it tries to acquire XW lock
    on ptrash - which conflicts with
    the above operation which also holds XW lock on the ptrash
    directory while trying to queue the operation.
    

Problem conclusion

  • This problem is fixed in 5.1.2 PTF 8
    To see all Spectrum Scale APARs and
    their respective fix solutions refer to page
    https://public.dhe.ibm.com/storage/spectrumscale/spectrum_scale_
    apars.html
    
    Benefits of the solution:
    Avoid the deadlock caused when recovery is triggered by an
    unsuspected reset of local bit on the .ptrash directory inside
    the fileset path.
    
    Work around:
    Make sure that ptrash directory is
    always local before performing
    any operations inside them.
    
    Problem trigger:
    Remove operations performed on unwanted files inside the
    .ptrash directory when the local bit was not set on this
    directory causing recovery to be triggered.
    
    Symptom:
    deadlock
    
    Platforms affected:
    All Linux OS platforms (Serving as AFM Gateway nodes)
    
    Functional Area affected:
    AFM
    
    Customer Impact:
    High Importance
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ44213

  • Reported component name

    SPEC SCALE STD

  • Reported component ID

    5737F33AP

  • Reported release

    512

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-11-14

  • Closed date

    2022-11-14

  • Last modified date

    2022-11-14

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    SPEC SCALE STD

  • Fixed component ID

    5737F33AP

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"STXKQY"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"512","Line of Business":{"code":"LOB26","label":"Storage"}}]

Document Information

Modified date:
15 November 2022