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

osd_declare_write_commit may give wrong offset & size to dmu_tx_hold_write

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.6.0, Lustre 2.5.2
    • None
    • None
    • 3
    • 13700

    Description

      in osd_declare_write_commit():

             for (i = 0; i < npages; i++) {
                  ......
                  dmu_tx_hold_write(oh->ot_tx, obj->oo_db->db_object, offset, size);
                  space += osd_count_not_mapped(obj, offset, size);
      
                  offset = lnb->lnb_file_offset;
                  size = lnb->len;
             }
      

      they should be lnb[i].lnb_file_offset and lnb[i].len.

      Attachments

        Activity

          People

            liang Liang Zhen (Inactive)
            liang Liang Zhen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: