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
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-13314 [ LU-13314 ]
            pjones Peter Jones made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Reopened [ 4 ] New: Resolved [ 5 ]
            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 made changes -
            Resolution Original: Fixed [ 1 ]
            Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
            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
            adilger Andreas Dilger made changes -
            Summary Original: "lfs find" does allow atime/mtime/ctime with fine-grained values New: Allow "lfs find" atime/mtime/ctime with fine-grained values
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 2.13.0 [ 14290 ]
            Resolution New: Fixed [ 1 ]
            Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
            pjones Peter Jones added a comment -

            Landed for 2.13

            pjones Peter Jones added a comment - Landed for 2.13

            People

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

              Dates

                Created:
                Updated:
                Resolved: