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

ldiskfs osd_punch() should check new inode size does not exceed maximum size

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      On osd we don't check for new inode size before ldiskfs_truncate(), we could overflow the block counters in ext4_es_remove_extent().

      Attachments

        Issue Links

          Activity

            [LU-16812] ldiskfs osd_punch() should check new inode size does not exceed maximum size
            adilger Andreas Dilger made changes -
            Summary Original: osd_punch() should check new inode size New: ldiskfs osd_punch() should check new inode size does not exceed maximum size
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-16537 [ LU-16537 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is duplicated by LU-14384 [ LU-14384 ]
            dongyang Dongyang Li made changes -
            Link New: This issue is related to EX-6841 [ EX-6841 ]
            dongyang Dongyang Li created issue -

            People

              dongyang Dongyang Li
              dongyang Dongyang Li
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: