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

osp_prep_update_req() doesn't set rq_bulk_write properly

Details

    • Bug
    • Resolution: Won't Fix
    • Critical
    • Lustre 2.8.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      osp_prep_update_req() sets rq_bulk_write explicitly, actually it should be set in sptlrpc_req_set_flavor() just like other operations to not break security code.

      Attachments

        Activity

          [LU-6882] osp_prep_update_req() doesn't set rq_bulk_write properly
          di.wang Di Wang added a comment -

          see LU-6741

          di.wang Di Wang added a comment - see LU-6741
          di.wang Di Wang added a comment -

          Hmm, after we fix 6741, this probably not should be a bug at all. Because osp request will use both bulk and normal inline request at the same time. So we can not set rq_bulk_write in sptlrpc_req_set_flavor by op_code, and we have to set it inside OSP and OUT.

          di.wang Di Wang added a comment - Hmm, after we fix 6741, this probably not should be a bug at all. Because osp request will use both bulk and normal inline request at the same time. So we can not set rq_bulk_write in sptlrpc_req_set_flavor by op_code, and we have to set it inside OSP and OUT.

          People

            di.wang Di Wang
            niu Niu Yawei (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: