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

ll_readdir() does not assign pos properly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • Lustre 2.6.0
    • 3
    • 12674

    Description

      pos seems not assigned after ll_dir_read() and we never get MDS_DIR_END_OFF.

       306         op_data->op_hash_offset = pos;
       307         op_data->op_max_pages = sbi->ll_md_brw_size >> PAGE_CACHE_SHIFT;
       308         rc = ll_dir_read(inode, op_data, cookie, filldir);
       309         if (lfd != NULL)
       310                 lfd->lfd_pos = op_data->op_hash_offset;
       311
       312         if (pos == MDS_DIR_END_OFF) {
      

      Attachments

        Activity

          People

            wc-triage WC Triage
            bergwolf Peng Tao
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: