Sha256: fbc3871e0f92080210a44ee991c8b4ab9b62b3dfbac57cb81743fef11d96d861

Contents?: true

Size: 429 Bytes

Versions: 66

Compression:

Stored size: 429 Bytes

Contents

module Lvm2Thin
  class MappingTree < BTree
    def initialize(superblock, root_address)
      super superblock, root_address, MAPPING_DETAILS
    end

    def entries
      @mtentries ||= begin
        super.collect do |entry|
          DataMap.new @superblock, @superblock.md_block_address(entry['value'])
        end
      end
    end

    def map_for(device_id)
      entry_for(device_id)
    end
  end
end # module Lvm2Thin

Version data entries

66 entries across 66 versions & 1 rubygems

Version Path
manageiq-smartstate-0.10.1 lib/VolumeManager/LVM/thin/mapping_tree.rb
manageiq-smartstate-0.10.0 lib/VolumeManager/LVM/thin/mapping_tree.rb
manageiq-smartstate-0.9.0 lib/VolumeManager/LVM/thin/mapping_tree.rb
manageiq-smartstate-0.8.1 lib/VolumeManager/LVM/thin/mapping_tree.rb
manageiq-smartstate-0.8.0 lib/VolumeManager/LVM/thin/mapping_tree.rb
manageiq-smartstate-0.7.0 lib/VolumeManager/LVM/thin/mapping_tree.rb
manageiq-smartstate-0.6.2 lib/VolumeManager/LVM/thin/mapping_tree.rb
manageiq-smartstate-0.5.10 lib/VolumeManager/LVM/thin/mapping_tree.rb
manageiq-smartstate-0.3.10 lib/VolumeManager/LVM/thin/mapping_tree.rb
manageiq-smartstate-0.6.1 lib/VolumeManager/LVM/thin/mapping_tree.rb
manageiq-smartstate-0.3.9 lib/VolumeManager/LVM/thin/mapping_tree.rb
manageiq-smartstate-0.6.0 lib/VolumeManager/LVM/thin/mapping_tree.rb
manageiq-smartstate-0.5.9 lib/VolumeManager/LVM/thin/mapping_tree.rb
manageiq-smartstate-0.5.8 lib/VolumeManager/LVM/thin/mapping_tree.rb
manageiq-smartstate-0.3.8 lib/VolumeManager/LVM/thin/mapping_tree.rb
manageiq-smartstate-0.5.7 lib/VolumeManager/LVM/thin/mapping_tree.rb
manageiq-smartstate-0.3.7 lib/VolumeManager/LVM/thin/mapping_tree.rb
manageiq-smartstate-0.5.6 lib/VolumeManager/LVM/thin/mapping_tree.rb
manageiq-smartstate-0.3.6 lib/VolumeManager/LVM/thin/mapping_tree.rb
manageiq-smartstate-0.5.5 lib/VolumeManager/LVM/thin/mapping_tree.rb