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.2.18 lib/VolumeManager/LVM/thin/mapping_tree.rb
manageiq-smartstate-0.2.17 lib/VolumeManager/LVM/thin/mapping_tree.rb
manageiq-smartstate-0.2.16 lib/VolumeManager/LVM/thin/mapping_tree.rb
manageiq-smartstate-0.2.15 lib/VolumeManager/LVM/thin/mapping_tree.rb
manageiq-smartstate-0.2.14 lib/VolumeManager/LVM/thin/mapping_tree.rb
manageiq-smartstate-0.2.13 lib/VolumeManager/LVM/thin/mapping_tree.rb
manageiq-smartstate-0.2.12 lib/VolumeManager/LVM/thin/mapping_tree.rb
manageiq-smartstate-0.2.11 lib/VolumeManager/LVM/thin/mapping_tree.rb
manageiq-smartstate-0.2.10 lib/VolumeManager/LVM/thin/mapping_tree.rb
manageiq-smartstate-0.2.9 lib/VolumeManager/LVM/thin/mapping_tree.rb
manageiq-smartstate-0.2.8 lib/VolumeManager/LVM/thin/mapping_tree.rb
manageiq-smartstate-0.2.7 lib/VolumeManager/LVM/thin/mapping_tree.rb
manageiq-smartstate-0.2.6 lib/VolumeManager/LVM/thin/mapping_tree.rb
manageiq-smartstate-0.2.5 lib/VolumeManager/LVM/thin/mapping_tree.rb
manageiq-smartstate-0.2.4 lib/VolumeManager/LVM/thin/mapping_tree.rb
manageiq-smartstate-0.2.3 lib/VolumeManager/LVM/thin/mapping_tree.rb
manageiq-smartstate-0.2.2 lib/VolumeManager/LVM/thin/mapping_tree.rb
manageiq-smartstate-0.2.1 lib/VolumeManager/LVM/thin/mapping_tree.rb
manageiq-smartstate-0.2.0 lib/VolumeManager/LVM/thin/mapping_tree.rb
manageiq-smartstate-0.1.6 lib/VolumeManager/LVM/thin/mapping_tree.rb