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

endless lfsck if osd_iget2 returns an error

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.17.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      lfsck falls into endless loop in osd_check_lmv() if osd_iget2() returns error:

          lfsck_master_engine
           lfsck_master_oit_engine
            lfsck_object_find_bottom
             lfsck_object_find_by_dev
              lu_object_find_at
               lu_object_start
                osd_object_init
                 osd_fid_lookup
                  osd_check_lmv      << this endlessly calls iterate_dir
                   iterate_dir
                    ldiskfs_readdir
                     ldiskfs_dx_readdir
                      call_filldir
                       dir_emit
                        osd_stripe_dir_filldir
                         osd_iget
                          osd_iget2   << this returns error
      

      Attachments

        Activity

          People

            vsaveliev Vladimir Saveliev
            vsaveliev Vladimir Saveliev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: