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

Allow "lfs find" atime/mtime/ctime with fine-grained values

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.13.0
    • None
    • None
    • 9223372036854775807

    Description

      The normal find command can only specify time arguments in terms of whole days. The MacOS find(1) man page reports the use of unit suffixes to give greater control over the time range, such as "1h" or "1d4h":

                   If units are specified, this primary evaluates to true if the
                   difference between the file last access time and the time find
                   was started is n units.  Possible time units are as follows:
      
                   s       second
                   m       minute (60 seconds)
                   h       hour (60 minutes)
                   d       day (24 hours)
                   w       week (7 days)
                   y       year (365 days)
      

      Attachments

        Issue Links

          Activity

            [LU-12027] Allow "lfs find" atime/mtime/ctime with fine-grained values
            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/34658/
            Subject: LU-12027 utils: fix "lfs find -amctime" comparison
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 3b9d1acfc73a30162cc1eb4c6e2878004af19d19

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34658/ Subject: LU-12027 utils: fix "lfs find -amctime" comparison Project: fs/lustre-release Branch: master Current Patch Set: Commit: 3b9d1acfc73a30162cc1eb4c6e2878004af19d19
            pjones Peter Jones added a comment -

            Looks like there is more work to track

            pjones Peter Jones added a comment - Looks like there is more work to track

            Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34658
            Subject: LU-12027 utils: fix "lfs find -amctime" comparison
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: cbffbc685f496a52209582c8d74f5d8cdf59e046

            gerrit Gerrit Updater added a comment - Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34658 Subject: LU-12027 utils: fix "lfs find -amctime" comparison Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: cbffbc685f496a52209582c8d74f5d8cdf59e046
            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/34367/
            Subject: LU-12027 utils: add units to "lfs find -amctime"
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 355c8a529a3a33a4db38e7d05bf558397a580657

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/34367/ Subject: LU-12027 utils: add units to "lfs find -amctime" Project: fs/lustre-release Branch: master Current Patch Set: Commit: 355c8a529a3a33a4db38e7d05bf558397a580657

            Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34367
            Subject: LU-12027 utils: add units to "lfs find -amctime"
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 65625d20afaf4a423accaaf4c2e8abb93b1ea252

            gerrit Gerrit Updater added a comment - Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34367 Subject: LU-12027 utils: add units to "lfs find -amctime" Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 65625d20afaf4a423accaaf4c2e8abb93b1ea252

            People

              adilger Andreas Dilger
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: