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

lfs find ! --projid doesn't work as expected

Details

    • 3
    • 9223372036854775807

    Description

      Somehow lfs find ! --projid <num> didn't work well and it is very easy to reproduce this:

      [root@exa4-1 client]# lfs find --projid 1002 foor
      foor/not-project
      [root@exa4-1 client]# lfs find ! --projid 1002 foor
      foor
      foor/2.file
      foor/not-project -------------> this should not be outputted here.
      foor/4.file
      foor/3.file
      foor/5.file
      foor/1.file
      Behavior I would expect would be something like the '--ost' case:
      [root@exa4-1 client]# lfs find ! --ost 0 foor
      foor/3.file
      foor/5.file
      foor/1.file
      [root@exa4-1 client]# lfs find --ost 0 foor
      foor/2.file
      foor/not-project
      foor/4.file

      Attachments

        Activity

          [LU-11849] lfs find ! --projid doesn't work as expected

          Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34407/
          Subject: LU-11849 utils: fix to make exclude projid works
          Project: fs/lustre-release
          Branch: b2_12
          Current Patch Set:
          Commit: c13b2601e2c437f06a71b208f7e103b3a22c3e1a

          gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34407/ Subject: LU-11849 utils: fix to make exclude projid works Project: fs/lustre-release Branch: b2_12 Current Patch Set: Commit: c13b2601e2c437f06a71b208f7e103b3a22c3e1a

          Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34407
          Subject: LU-11849 utils: fix to make exclude projid works
          Project: fs/lustre-release
          Branch: b2_12
          Current Patch Set: 1
          Commit: b2d2d18b2745a08af5487cc525eb75a851d9f4e7

          gerrit Gerrit Updater added a comment - Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34407 Subject: LU-11849 utils: fix to make exclude projid works Project: fs/lustre-release Branch: b2_12 Current Patch Set: 1 Commit: b2d2d18b2745a08af5487cc525eb75a851d9f4e7
          pjones Peter Jones added a comment -

          Landed for 2.13

          pjones Peter Jones added a comment - Landed for 2.13

          Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34005/
          Subject: LU-11849 utils: fix to make exclude projid works
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: db9965ce33365c2645827b06af21f8f5918ea2bb

          gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34005/ Subject: LU-11849 utils: fix to make exclude projid works Project: fs/lustre-release Branch: master Current Patch Set: Commit: db9965ce33365c2645827b06af21f8f5918ea2bb

          Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/34005
          Subject: LU-11849 utils: fix to make exclude projid works
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: f73087345c5b97e922b611444d36266ee0e1c5c8

          gerrit Gerrit Updater added a comment - Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/34005 Subject: LU-11849 utils: fix to make exclude projid works Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: f73087345c5b97e922b611444d36266ee0e1c5c8

          People

            wshilong Wang Shilong (Inactive)
            wshilong Wang Shilong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: