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

inodebit locks for remote entries.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • Lustre 2.8.0
    • Lustre 2.7.0, Lustre 2.5.3, Lustre 2.8.0
    • 3
    • 9223372036854775807

    Description

      int mdc_intent_getattr_async(struct obd_export *exp,
                                   struct md_enqueue_info *minfo,
                                   struct ldlm_enqueue_info *einfo)
      {
              struct md_op_data       *op_data = &minfo->mi_data;
              struct lookup_intent    *it = &minfo->mi_it;
              struct ptlrpc_request   *req;
              struct mdc_getattr_args *ga;
              struct obd_device       *obddev = class_exp2obd(exp);
              struct ldlm_res_id       res_id;
              /*XXX: Both MDS_INODELOCK_LOOKUP and MDS_INODELOCK_UPDATE are needed
               *     for statahead currently. Consider CMD in future, such two bits
               *     maybe managed by different MDS, should be adjusted then. */
              ldlm_policy_data_t       policy = {
                                              .l_inodebits = { MDS_INODELOCK_LOOKUP |
                                                               MDS_INODELOCK_UPDATE }
                                       };
              int                      rc = 0;
              __u64                    flags = LDLM_FL_HAS_INTENT;
              ENTRY;
      

      Attachments

        Issue Links

          Activity

            People

              laisiyao Lai Siyao
              di.wang Di Wang
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: