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

osd_read_prep() ignores errors from osd_ldiskfs_map_inode_pages()

    XMLWordPrintable

Details

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

    Description

      static int osd_read_prep(const struct lu_env *env, struct dt_object *dt,
                               struct niobuf_local *lnb, int npages)
      {
              ...
              if (iobuf->dr_npages) {
                      rc = osd_ldiskfs_map_inode_pages(inode, iobuf->dr_pages,
                                                       iobuf->dr_npages,
                                                       iobuf->dr_blocks, 0);
                      rc = osd_do_bio(osd, inode, iobuf);
      
                      /* IO stats will be done in osd_bufs_put() */
              }
      
              RETURN(rc);
      }
      

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              jhammond John Hammond
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: