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

wrong LASSERT in osd_declare_write_commit()

Details

    • Bug
    • Resolution: Fixed
    • Trivial
    • Lustre 2.15.0
    • None
    • 3
    • 9223372036854775807

    Description

      [13625.206311] UBSAN: Undefined behaviour in /mnt/ssdraid/xyratex/lustre-wc-rel3/lustre/osd-ldiskfs/osd_io.c:1404:2
      [13625.206363] shift exponent 4096 is too large for 32-bit type 'int'
      

      The following piece of code seems to contain a typo:

              LASSERT(extent_bytes >= (1 << osd_sb(osd)->s_blocksize));
      

      Attachments

        Activity

          [LU-15181] wrong LASSERT in osd_declare_write_commit()
          pjones Peter Jones added a comment -

          Landed for 2.15

          pjones Peter Jones added a comment - Landed for 2.15

          "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45423/
          Subject: LU-15181 osd-ldiskfs: a typo in osd_declare_write_commit()
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: ca7783348421da7ce628c69da5d4298fb372dc2b

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45423/ Subject: LU-15181 osd-ldiskfs: a typo in osd_declare_write_commit() Project: fs/lustre-release Branch: master Current Patch Set: Commit: ca7783348421da7ce628c69da5d4298fb372dc2b
          panda Andrew Perepechko added a comment - https://review.whamcloud.com/#/c/45423/

          People

            panda Andrew Perepechko
            panda Andrew Perepechko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: