Skip to content
  • John Snow's avatar
    blockdev: Allow overriding if_max_dev property · 21dff8cf
    John Snow authored
    
    
    The if_max_devs table as in the past been an immutable
    default that controls the mapping of index => (bus,unit)
    for all boards and all HBAs for each interface type.
    
    Since adding this mapping information to the HBA device
    itself is currently unwieldly from the perspective of
    retrieving this information at option parsing time
    (e.g, within drive_new), we consider the alternative
    of marking the if_max_devs table mutable so that
    later configuration and initialization can adjust the
    mapping at will, but only up until a drive is added,
    at which point the mapping is finalized.
    
    Signed-off-by: default avatarJohn Snow <jsnow@redhat.com>
    Reviewed-by: default avatarMarkus Armbruster <armbru@redhat.com>
    Message-id: 1412187569-23452-3-git-send-email-jsnow@redhat.com
    Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
    21dff8cf