Details

    • Improvement
    • Resolution: Fixed
    • Major
    • Lustre 2.17.0
    • None
    • 3
    • 9223372036854775807

    Description

      LU-13783 introduced the alloc_file_pseudo() for directory iteration. It leads to many file descriptors for a kernel and a special logic to drop it LU-16973.

      One of the reason of alloc_file_pseudo() was a security_alloc() call. However we could initialize iteration like kernel and skip security checks for a pseudo files.

      Attachments

        Activity

          [LU-18595] alloc_file_pseudo removing
          pjones Peter Jones added a comment -

          Merged for 2.17

          pjones Peter Jones added a comment - Merged for 2.17

          "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/57574/
          Subject: LU-18595 osd-ldiskfs: use local fake file for iteration
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 642009da4e03a7f56694a368a7e4ea3584428e02

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/57574/ Subject: LU-18595 osd-ldiskfs: use local fake file for iteration Project: fs/lustre-release Branch: master Current Patch Set: Commit: 642009da4e03a7f56694a368a7e4ea3584428e02

          "Alexander Boyko <alexander.boyko@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/57574
          Subject: LU-18595 osd-ldiskfs: use local fake file for iteration
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: a855fe6a892fafe2250f7455246650bfbfa39d00

          gerrit Gerrit Updater added a comment - "Alexander Boyko <alexander.boyko@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/57574 Subject: LU-18595 osd-ldiskfs: use local fake file for iteration Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: a855fe6a892fafe2250f7455246650bfbfa39d00

          People

            aboyko Alexander Boyko
            aboyko Alexander Boyko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: