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

ofd_create_hdl() shouldn't overwrite error code

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      ostid_set_id() can overwrite error code from ofd_precreate_objects(). this may lead to a set of issues on MDS side (misleading error message, RPC storm, etc).

       LustreError: 26378:0:(ofd_dev.c:1784:ofd_create_hdl()) nbp13-OST0008: unable to precreate: rc = -115
       LustreError: 26378:0:(ofd_dev.c:1784:ofd_create_hdl()) Skipped 59 previous similar messages
       LustreError: 25151:0:(osp_precreate.c:657:osp_precreate_send()) nbp13-OST0008-osc-MDT0000: precreate fid [0x100080000:0x217edc:0x0] < local used fid [0x100080000:0x217edc:0x0]: rc = -116
       LustreError: 25151:0:(osp_precreate.c:657:osp_precreate_send()) Skipped 59 previous similar messages
       LustreError: 25151:0:(osp_precreate.c:1289:osp_precreate_thread()) nbp13-OST0008-osc-MDT0000: cannot precreate objects: rc = -116
      

      The -115 = -EINPROGRESS error is because the LMA FID is bad and LFSCK has started OI Scrub. The error is not returned to the MDS, but it created no objects and hits the error in osp_precreate_send() and spins on precreate because there are no errors reported on the OST.

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              bzzz Alex Zhuravlev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: