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

FIEMAP does not sync data or return cached pages

Details

    • 3
    • 7860

    Description

      Artem Blagodarenko added a comment - 27/Mar/13 7:16 AM

      We have bug, that looks like this.

      After coping of a file with 'cp' to another location in the same fs some empty gaps happened.

      Comparing the good to the bad file, the bad file has a 4096-byte segment of zeros at block offset 6799 of the file, and the last portion of the file (following the last even 1MB multiple) is also zeros. Looking at the bad file's OST object (stripe count is 1), the zero'd regions of the file are holes - no blocks allocated for those portions. The block allocations for the bad file go from 0-6798, block 6799 is missing, then 6800-8703, blocks 8704-8745 are missing. (8704 blocks is 34*1048576; the bad file ends at the last even 1MB boundary).

      The bad file is missing block 6799, and blocks 8704-8745

      Extents for good file

      EXTENTS:
      (ETB0):554244449, (0-127):554255616-554255743, (128-767):554257024-554257663, (768-1535):554257920-554258687, (1536-
      4607):554258944-554262015, (4608-5247):554262528-554263167, (5248-5375):554255744-554255871, (5376-5887):554263296-5
      54263807, (5888-6015):554255872-554255999, (6016-6143):554258688-554258815, (6144-6271):554262144-554262271, (6272-6
      527):554256000-554256255, (6528-6655):554262016-554262143, (6656-7039):554256256-554256639, (7040-7167):554262272-55
      4262399, (7168-7295):554263168-554263295, (7296-7423):554263936-554264063, (7424-7679):554256640-554256895, (7680-78
      07):554262400-554262527, (7808-7935):554263808-554263935, (7936-8063):554256896-554257023, (8064-8319):554257664-554
      257919, (8320-8447):554258816-554258943, (8448-8745):554264064-554264361

      Extents for broken file:

      EXTENTS:
      (0-6798):538994432-539001230, (6800-8703):539001232-539003135

      Lustre client version on this system is 2.2.

      http://review.whamcloud.com/#change,6127

      Attachments

        Issue Links

          Activity

            [LU-3219] FIEMAP does not sync data or return cached pages
            hongchao.zhang Hongchao Zhang made changes -
            Link New: This issue is related to DDN-202 [ DDN-202 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is duplicated by LU-4380 [ LU-4380 ]
            jlevi Jodi Levi (Inactive) made changes -
            Fix Version/s New: Lustre 2.5.0 [ 10295 ]
            adilger Andreas Dilger made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            yujian Jian Yu made changes -
            Affects Version/s New: Lustre 2.4.1 [ 10294 ]
            Labels Original: patch New: patch yuc2
            yujian Jian Yu made changes -
            Labels Original: mq213 patch New: patch
            paf Patrick Farrell (Inactive) made changes -
            Comment [ I'm not sure if this is the best place to bring this up, but I'm currently unable to check out any Lustre source from Whamcloud. I'm getting HTTP 403, error unauthorized, when trying to grab this patch, or anything else from WC's git.

            FX:
            git clone -b master http://git.whamcloud.com/fs/lustre-release.git lustre-master
            Gives me:
            error: The requested URL returned error: 403 while accessing http://git.whamcloud.com/fs/lustre-release.git/info/refs

            And the same message attempting to use the Gerrit-provided git links for these patches.
            ]
            yujian Jian Yu made changes -
            Affects Version/s New: Lustre 2.1.6 [ 10292 ]
            yujian Jian Yu made changes -
            Labels Original: patch New: mq213 patch
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 2.1.6 [ 10292 ]

            People

              niu Niu Yawei (Inactive)
              artem_blagodarenko Artem Blagodarenko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: