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

TBF: remove duplicate codes

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Medium Medium
    • Lustre 2.18.0
    • None
    • None
    • 3
    • 9223372036854775807

      LU-18192 added a way to mix different TBF types to generate a custom hash for the generic TBF policy. So TBF generic policy is able to manipulate all the types, this makes old policy callbacks obsolete.

      The TBF code can be rework to:

      • Remove old TBF policy callbacks and keep only the generic ones
      • Use a single hashtable (remove cfs_hash and keep rhashtable).
      • Unify the way to handle the LRU (some have it, others don’t)

            eaujames Etienne Aujames
            eaujames Etienne Aujames
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: