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

LL_IOC_{GET,SET}_LEASE ioctls return FMODE_{READ,WRITE}

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.7.0
    • Lustre 2.6.0
    • 3
    • 13876

    Description

      The handler for

      LL_IOC_{GET,SET}_LEASE

      may return

      FMODE_{READ,WRITE}

      according to the type of lease.

      FMODE_{READ,WRITE}

      are internal to the Linux kernel and should not be used in this way. The only user of these ioctls is multiop so it's a good time to fix them.

      Attachments

        Activity

          [LU-5013] LL_IOC_{GET,SET}_LEASE ioctls return FMODE_{READ,WRITE}
          jhammond John Hammond made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          jhammond John Hammond made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          jhammond John Hammond added a comment -

          Patch landed to master.

          jhammond John Hammond added a comment - Patch landed to master.
          jhammond John Hammond made changes -
          Fix Version/s New: Lustre 2.7.0 [ 10631 ]
          jhammond John Hammond made changes -
          Assignee Original: WC Triage [ wc-triage ] New: John Hammond [ jhammond ]
          jhammond John Hammond added a comment - Please see http://review.whamcloud.com/#/c/10233/ .

          Jinshan,
          Can you comment on this one?
          Thank you!

          jlevi Jodi Levi (Inactive) added a comment - Jinshan, Can you comment on this one? Thank you!
          jhammond John Hammond made changes -
          Description Original: The handler for LL_IOC_{GET,SET}_LEASE may return FMODE_{READ,WRITE} according to the type of lease. FMODE_{READ,WRITE} are internal to the Linux kernel and should not be used in this way. The only user of these ioctls is multiop so it's a good time to fix them. New: The handler for {code}LL_IOC_{GET,SET}_LEASE{code} may return {code}FMODE_{READ,WRITE}{code} according to the type of lease. {code}FMODE_{READ,WRITE}{code} are internal to the Linux kernel and should not be used in this way. The only user of these ioctls is multiop so it's a good time to fix them.
          jhammond John Hammond created issue -

          People

            jhammond John Hammond
            jhammond John Hammond
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: