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

IOC_MDC_GETFILEINFO returns garbage stripe info for files with long names but no striping

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      o:~# cd /mnt//lustre
      o:lustre# mcreate ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
      o:lustre# lfs getstripe ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
      ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff has no stripe info
      o:lustre# lfs find --stripe-count +30 .
      ./ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
      o:lustre# lfs find --stripe-count +10000 .
      ./ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
      

      In ll_dir_ioctl() we should at least zero out lmm_magic when the file has not stripe info.

      Attachments

        Issue Links

          Activity

            [LU-11380] IOC_MDC_GETFILEINFO returns garbage stripe info for files with long names but no striping
            jhammond John Hammond added a comment -

            Fixed by landing of https://review.whamcloud.com/#/c/33172/ LU-11380 llite: zero lum for stripeless files

            jhammond John Hammond added a comment - Fixed by landing of https://review.whamcloud.com/#/c/33172/ LU-11380 llite: zero lum for stripeless files

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36184/
            Subject: LU-11380 llapi: add llapi_fid_parse() helper
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 21d671b3af09af65d38a454e677c5da9830e0c7a

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36184/ Subject: LU-11380 llapi: add llapi_fid_parse() helper Project: fs/lustre-release Branch: master Current Patch Set: Commit: 21d671b3af09af65d38a454e677c5da9830e0c7a

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35673/
            Subject: LU-11380 llapi: separate FID man pages
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 253cc7ae49f89bba919a5a570209e2629b3843c6

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35673/ Subject: LU-11380 llapi: separate FID man pages Project: fs/lustre-release Branch: master Current Patch Set: Commit: 253cc7ae49f89bba919a5a570209e2629b3843c6

            Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36184
            Subject: LU-11380 llapi: split llapi_fid_* to separate file
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 4922c6455cb827e74ac0348e6ac50377bcb1c05f

            gerrit Gerrit Updater added a comment - Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/36184 Subject: LU-11380 llapi: split llapi_fid_* to separate file Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 4922c6455cb827e74ac0348e6ac50377bcb1c05f

            Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35673
            Subject: LU-11380 llapi: separate FID functions and man pages
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 18ca9bcbb7a2ad19609c10f727addf99fd6623a0

            gerrit Gerrit Updater added a comment - Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35673 Subject: LU-11380 llapi: separate FID functions and man pages Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 18ca9bcbb7a2ad19609c10f727addf99fd6623a0

            Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35648
            Subject: LU-11380 llite: split llapi_fid2path() into two functions
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: f40a114ef29289e7063b54b6ab67e4243c7789ce

            gerrit Gerrit Updater added a comment - Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35648 Subject: LU-11380 llite: split llapi_fid2path() into two functions Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: f40a114ef29289e7063b54b6ab67e4243c7789ce

            Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34571
            Subject: LU-11380 llapi: remove unused "recno" argument
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 5af9c2e6be3fe5ca3ac779af85ebbb91ae253986

            gerrit Gerrit Updater added a comment - Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/34571 Subject: LU-11380 llapi: remove unused "recno" argument Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 5af9c2e6be3fe5ca3ac779af85ebbb91ae253986

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33198/
            Subject: LU-11380 mdc: move empty xattr handling to mdc layer
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: 0f42b388432c4b898857660197ef13a40a82cd9d

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33198/ Subject: LU-11380 mdc: move empty xattr handling to mdc layer Project: fs/lustre-release Branch: master Current Patch Set: Commit: 0f42b388432c4b898857660197ef13a40a82cd9d

            Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33172/
            Subject: LU-11380 llite: zero lum for stripeless files
            Project: fs/lustre-release
            Branch: master
            Current Patch Set:
            Commit: fab95b4345db3c9e4108e06a76c14bcda575e24e

            gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33172/ Subject: LU-11380 llite: zero lum for stripeless files Project: fs/lustre-release Branch: master Current Patch Set: Commit: fab95b4345db3c9e4108e06a76c14bcda575e24e

            John L. Hammond (jhammond@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33215
            Subject: LU-11380 hsm: streamline copytool restore handling
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: 4f9999c59d1bb396a1593ecd7213b6026ea3019a

            gerrit Gerrit Updater added a comment - John L. Hammond (jhammond@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33215 Subject: LU-11380 hsm: streamline copytool restore handling Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 4f9999c59d1bb396a1593ecd7213b6026ea3019a

            People

              jhammond John Hammond
              jhammond John Hammond
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: