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

Specify ordering of TBF policy rules

Details

    • Question/Request
    • Resolution: Fixed
    • Major
    • Lustre 2.9.0
    • Lustre 2.7.0
    • 9223372036854775807

    Description

      In the documentation it states " Whenever a queue is newly created, it goes though the rule list and takes the first matched rule as its rule, so that the queue knows its RPC token rate."

      How does it the order the rules? Is it in the order they were created?

      We want 2 initial sets of NID groups, 'Login' and 'compute'. But the compute nodes' NIDs are not uniquely different from the login nodes. But if we can order the rules we can list the login nodes first and then compute.

      Attachments

        Issue Links

          Activity

            [LU-8006] Specify ordering of TBF policy rules
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-14724 [ LU-14724 ]
            mdiep Minh Diep made changes -
            Link New: This issue is related to LDEV-301 [ LDEV-301 ]
            mdiep Minh Diep made changes -
            Link New: This issue is related to JFC-17 [ JFC-17 ]
            pjones Peter Jones made changes -
            Link Original: This issue is related to JFC-19 [ JFC-19 ]
            pjones Peter Jones made changes -
            Link Original: This issue is related to JFC-10 [ JFC-10 ]
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 2.9.0 [ 11891 ]
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            riauxjb Jean-Baptiste Riaux (Inactive) made changes -
            Labels Original: patch New: cea patch
            pjones Peter Jones made changes -
            End date New: 13/May/16
            Start date New: 11/Apr/16
            lixi Li Xi (Inactive) made changes -
            Comment [ It seems following codes returns -EFBIG

            {noformat}
            LASSERT(obj->oo_sa_hdl != NULL);
            LASSERT(oh->ot_tx != NULL);
            dmu_tx_hold_sa(oh->ot_tx, obj->oo_sa_hdl, 0);
            if (oh->ot_tx->tx_err != 0)
            GOTO(out, rc = -oh->ot_tx->tx_err);
            {noformat}

            {noformat}

            00080000:00000001:0.0:1462903904.567380:0:13254:0:(osd_object.c:861:osd_declare_attr_set()) Process entered
            00080000:00000001:0.0:1462903904.567381:0:13254:0:(osd_object.c:877:osd_declare_attr_set()) Process leaving via out (rc=18446744073709551589 : -27 : 0xffffffffffffffe5)
            00080000:00000001:0.0:1462903904.567382:0:13254:0:(osd_object.c:918:osd_declare_attr_set()) Process leaving (rc=18446744073709551589 : -27 : ffffffffffffffe5)
            00002000:00000001:0.0:1462903904.567383:0:13254:0:(ofd_io.c:1079:ofd_commitrw_write()) Process leaving via out_stop (rc=18446744073709551589 : -27 : 0xffffffffffffffe5)
            00080000:00000001:0.0:1462903904.567384:0:13254:0:(osd_handler.c:282:osd_trans_stop()) Process entered
            00040000:00000001:0.0:1462903904.567386:0:13254:0:(qsd_handler.c:1073:qsd_op_end()) Process entered
            00040000:00000001:0.0:1462903904.567387:0:13254:0:(qsd_handler.c:1101:qsd_op_end()) Process leaving
            00080000:00000010:0.0:1462903904.567387:0:13254:0:(osd_handler.c:296:osd_trans_stop()) kfreed 'oh': 384 at ffff880021666a00.
            00080000:00000001:0.0:1462903904.567388:0:13254:0:(osd_handler.c:297:osd_trans_stop()) Process leaving (rc=0 : 0 : 0)
            00000020:00000001:0.0:1462903904.567949:0:13254:0:(lustre_fid.h:740:fid_flatten32()) Process leaving (rc=252707909 : 252707909 : f100445)
            00000020:00000001:0.0:1462903904.567951:0:13254:0:(lustre_fid.h:740:fid_flatten32()) Process leaving (rc=252707909 : 252707909 : f100445)
            00000020:00000002:0.0:1462903904.567952:0:13254:0:(lu_object.c:162:lu_object_put()) Add ffff8800461c7178 to site lru. hash: ffff8800494dc900, bkt: ffff88004ced5118, lru_len: 2
            00002000:00000001:0.0:1462903904.567954:0:13254:0:(ofd_grant.c:1268:ofd_grant_commit()) Process entered
            00002000:00000001:0.0:1462903904.567955:0:13254:0:(ofd_grant.c:1323:ofd_grant_commit()) Process leaving
            00002000:00000001:0.0:1462903904.567956:0:13254:0:(ofd_io.c:1138:ofd_commitrw_write()) Process leaving (rc=18446744073709551589 : -27 : ffffffffffffffe5)
            00002000:00000001:0.0:1462903904.567957:0:13254:0:(ofd_io.c:1255:ofd_commitrw()) Process leaving (rc=18446744073709551589 : -27 : ffffffffffffffe5)
            00000020:00000001:0.0:1462903904.567958:0:13254:0:(obd_class.h:1129:obd_commitrw()) Process leaving (rc=18446744073709551589 : -27 : ffffffffffffffe5)
            {noformat} ]
            pjones Peter Jones made changes -
            Link New: This issue is related to JFC-10 [ JFC-10 ]

            People

              lixi Li Xi (Inactive)
              mhanafi Mahmoud Hanafi
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: