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

use of non-initialised ldiskfs_block_map structure in osd_declare_write_commit.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Lustre 2.18.0
    • None
    • None
    • 3
    • 9223372036854775807

      The osd-ldsikfs osd_declare_commit_write() function doesn't initialise ldiskfs_block_map structure before calling osd_id_mapped(), it may contains an arbitrary garbage which can be interpreted as a cached block extent. It leads to a possible mis-calculation of tx credits and eventually may cause an ldsikfs failure.

            zam Alexander Zarochentsev
            zam Alexander Zarochentsev
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: