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

osc_io_submit_page() set OBD_BRW_NOQUOTA incorrectly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Minor
    • None
    • Lustre 2.0.0
    • None
    • 3
    • 6595

    Description

      Actually, the ignore quota flag has already been set before the osc page entering the cache, and the caller of osc_io_submit_page() is usually not the original write submiting process, so setting ignore quota flag in osc_io_submit_page() could wrongly overwrite the original flag, I think we can just simply remove the following piece of code in osc_io_submit_page():

      if (!client_is_remote(osc_export(cl2osc(opg->ops_cl.cpl_obj))) &&
      cfs_capable(CFS_CAP_SYS_RESOURCE))

      { oap->oap_brw_flags |= OBD_BRW_NOQUOTA; oap->oap_cmd |= OBD_BRW_NOQUOTA; }

      Attachments

        Activity

          People

            niu Niu Yawei (Inactive)
            niu Niu Yawei (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: