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

hsm: Add BLOCKING flag for implicit restores

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      I propose we add an HSM request flag to indicate that an action has been triggered by the kernel and a user process is currently blocked on this action.

      AFAICT, the hsm_user_request.hr_flags field is currently unused by the kernel or any of the user tools or tests in the tree, so we can use this field for this flag. I also don't see any flags defined, so perhaps it could be something like HR_BLOCKING or HR_SYNC.

      It looks like ll_layout_restore() is used when we need to trigger to restore from the kernel, so that is probably the right place to put this.

      Attachments

        Activity

          People

            wc-triage WC Triage
            rread Robert Read
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: