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

IS_NOSEC check in vvp_io_write_start always returns false

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Lustre 2.10.0
    • Labels:
      None
    • Severity:
      3
    • Rank (Obsolete):
      9223372036854775807

      Description

      In vvp_io_write_start, we check "IS_NOSEC" to see whether or not to take the inode mutex. (This is to protect the automatic setuid bit removal when writing to a file.)

      This was added in patch http://review.whamcloud.com/19840 "LU-8025 llite: make vvp_io_write_start lockless for newer kernels".

      Unfortunately, it looks like that check is not working correctly, and is always returning false, causing us to take the inode mutex. This may have some dependence on kernel version, as different versions vary in whether they provide IS_NOSEC.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                paf Patrick Farrell (Inactive)
                Reporter:
                paf Patrick Farrell (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: