1. 16 1月, 2018 2 次提交
  2. 15 1月, 2018 3 次提交
  3. 12 1月, 2018 26 次提交
  4. 11 1月, 2018 4 次提交
  5. 10 1月, 2018 5 次提交
    • J
      storage: Complete implementation volume by hash object · be1bb6c9
      John Ferlan 提交于
      Alter the volume logic to use the hash tables instead of forward
      linked lists. There are three hash tables to allow for fast lookup
      by name, target.path, and key.
      
      Modify the virStoragePoolObjAddVol to place the object in all 3
      tables if possible using self locking RWLock on the volumes object.
      Conversely when removing the volume, it's a removal of the object
      from the various hash tables.
      
      Implement functions to handle remote ForEach and Search Volume
      type helpers. These are used by the disk backend in order to
      facilitate adding a primary, extended, or logical partition.
      
      Implement the various VolDefFindBy* helpers as simple (and fast)
      hash lookups. The NumOfVolumes, GetNames, and ListExport helpers
      are all implemented using standard for each hash table calls.
      be1bb6c9
    • J
      storage: Introduce _virStorageVolObj[List] · f77c898d
      John Ferlan 提交于
      Prepare for hash table volume lists by creating the object infrastructure
      for a Volume Object and Volume Object List
      
      The _virStorageVolObj will contain just a pointer to the "current"
      (and live) volume definition.
      
      The _virStorageVolObjList will contain three hash tables, one for
      each of the lookup options allowed for a volume.
      f77c898d
    • J
      storage: Modify virStorageBackendDiskMakeDataVol logic · 71d80c97
      John Ferlan 提交于
      Alter the logic such that we only add the volume to the pool once
      we've filled in all the information and cause failure to go to a
      common error: label. Patches to place the @vol into a few hash tables
      will soon "require" that at least the keys (name, target.path, and key)
      be populated with valid data.
      71d80c97
    • J
      storage: When delete volume avoid disk backend removal · ec24d290
      John Ferlan 提交于
      For a disk backend, the deleteVol code will clear all the
      volumes in the pool and perform a pool refresh, thus the
      storageVolDeleteInternal should not use access @voldef
      after deleteVol succeeds.
      ec24d290
    • J
      cpu_x86: Copy CPU signature from ancestor · b427cf48
      Jiri Denemark 提交于
      When specifying a new CPU model in cpu_map.xml as an extension to an
      existing model, we forgot to copy the signature (family + model) from
      the original CPU model.
      
      We don't use this way of specifying CPU models, but it's still supported
      and it becomes useful when someone wants to quickly hack up a CPU model
      for testing or when creating additional variants of existing models to
      help with fixing some spectral issues.
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      Reviewed-by: NPavel Hrdina <phrdina@redhat.com>
      b427cf48