Update git submodules

* Update os-brick from branch 'master'
  to 4c21b40df20ef497c7a3c82ffcf32fe21621034c
  - NVMe-oF: Consolidate code paths
    
    We currently have 2 different connection information formats: The
    initial one and the new one.
    
    Within the new format we have 2 variants: Replicated and Not replicated.
    
    Currently the nvmeof connector has multiple code paths and we end up
    finding bugs that affect one path and not the other, and bugs that are
    present in both may end up getting fixed in only one of them.
    
    This patch consolidates both formats by converting the connection
    information into a common internal representation, thus reducing the
    number of code paths.
    
    Thanks to this consolidation the Cinder drivers are less restricted on
    how they can identify a volume in the connection information.  They are
    no longer forced to pass the NVMe UUID (in case they cannot get that
    information or the backend doesn't support it) and they can provide
    other information instead (nguid or namespace id).
    
    This connection properties format consolidation is explained in the new
    NVMeOFConnProps class docstring.
    
    By consolidating the code paths a number of bugs get fixed
    automatically, because they were broken in one path but not in the
    other.  As examples, the old code path didn't have rescans but the new
    one did, and the old code path had device flush but the new one didn't.
    
    Given the big refactoring needed to consolidate everything this patch
    also accomplishes the following things:
    
    - Uses Portal, Target, and NVMeOFConnProps classes instead of using the
      harder to read and error prone dictionaries and tuples.
    
    - Adds method annotations.
    
    - Documents most methods (exect the raid ones which I'm not familiar
      with)
    
    - Adds the connector to the docs.
    
    - Makes method signatures conform with Cinder team standards: no more
      static methods passing self and no more calling class methods using
      the class name instead of self.
    
    Closes-Bug: #1964590
    Closes-Bug: #1964395
    Closes-Bug: #1964388
    Closes-Bug: #1964385
    Closes-Bug: #1964380
    Closes-Bug: #1964383
    Closes-Bug: #1965954
    Closes-Bug: #1903032
    Related-Bug: #1961102
    Change-Id: I6c2a952f7e286f3e3890e3f2fcb2fdd1063f0c17
This commit is contained in:
Gorka Eguileor 2022-07-25 19:24:16 +02:00 committed by Gerrit Code Review
parent 2b3a2b123c
commit 6b7fe96ed0
1 changed files with 1 additions and 1 deletions

@ -1 +1 @@
Subproject commit a9a53f9b504b21d41cb0ca8c9f8739bc9444e07f
Subproject commit 4c21b40df20ef497c7a3c82ffcf32fe21621034c