1. 10 4月, 2019 1 次提交
  2. 14 12月, 2018 1 次提交
  3. 21 8月, 2018 1 次提交
  4. 20 7月, 2018 1 次提交
  5. 05 6月, 2018 4 次提交
  6. 23 5月, 2018 1 次提交
  7. 07 5月, 2018 2 次提交
  8. 24 11月, 2017 1 次提交
  9. 07 11月, 2017 1 次提交
  10. 27 7月, 2017 2 次提交
    • P
      qemu: block: store and test driver names for detected storage nodes · c03e52af
      Peter Krempa 提交于
      Store the 'drv' field both for the storage node and for the format node
      and format them in the test case.
      Reviewed-by: NEric Blake <eblake@redhat.com>
      c03e52af
    • P
      qemu: block: Refactor node name detection code · 0175dc6e
      Peter Krempa 提交于
      Remove the complex and unreliable code which inferred the node name
      hierarchy only from data returned by 'query-named-block-nodes'. It turns
      out that query-blockstats contain the full hierarchy of nodes as
      perceived by qemu so the inference code is not necessary.
      
      In query blockstats, the 'parent' object corresponds to the storage
      behind a storage volume and 'backing' corresponds to the lower level of
      backing chain. Since all have node names this data can be really easily
      used to detect node names.
      
      In addition to the code refactoring the one remaining test case needed
      to be fixed along.
      Reviewed-by: NEric Blake <eblake@redhat.com>
      0175dc6e
  11. 14 7月, 2017 2 次提交
  12. 27 4月, 2017 1 次提交
  13. 27 3月, 2017 3 次提交
    • P
      qemu: block: Add code to fetch block node data by node name · 51c4b744
      Peter Krempa 提交于
      To allow updating stats based on the node name, add a helper function
      that will fetch the required data from 'query-named-block-nodes' and
      return it in hash table for easy lookup.
      51c4b744
    • P
      qemu: block: Add code to detect node names when necessary · 0feebab2
      Peter Krempa 提交于
      Detect the node names when setting block threshold and when reconnecting
      or when they are cleared when a block job finishes. This operation will
      become a no-op once we fully support node names.
      0feebab2
    • P
      qemu: block: Add code to allow detection of auto-allocated node names · dbad8f8a
      Peter Krempa 提交于
      qemu for some time already sets node names automatically for the block
      nodes. This patch adds code that attempts a best-effort detection of the
      node names for the backing chain from the output of
      'query-named-block-nodes'. The only drawback is that the data provided
      by qemu needs to be matched by the filename as seen by qemu and thus
      if two disks share a single backing store file the detection won't work.
      
      This will allow us to use qemu commands such as
      'block-set-write-threshold' which only accepts node names.
      
      In this patch only the detection code is added, it will be used later.
      dbad8f8a