@@ -43,18 +43,18 @@ struct vdev_info {
4343 uint32_t num_mirrors{0 }; // 12: Total number of mirrors
4444 uint32_t blk_size{0 }; // 16: IO block size for this vdev
4545 uint32_t num_primary_chunks{0 }; // 20: number of primary chunks
46- uint32_t chunk_size{0 }; // 24: chunk size used in vdev.
47- vdev_size_type_t size_type{}; // 28 : Whether its a static or dynamic type.
48- uint8_t slot_allocated{0 }; // 29 : Is this current slot allocated
49- uint8_t failed{0 }; // 30 : set to true if disk is replaced
50- uint8_t hs_dev_type{0 }; // 31 : PDev dev type (as in fast or data)
51- uint8_t multi_pdev_choice{0 }; // 32 : Choice when multiple pdevs are present (vdev_multi_pdev_opts_t)
52- char name[max_name_len]; // 33 : Name of the vdev
53- uint16_t checksum{0 }; // 97 : Checksum of this entire Block
54- uint8_t alloc_type; // 98 : Allocator type of this vdev
55- uint8_t chunk_sel_type; // 99 : Chunk Selector type of this vdev_id
56- uint8_t use_slab_allocator{0 }; // 100 : Use slab allocator for this vdev
57- uint8_t padding[154 ]{}; // 101 : Padding to make it 256 bytes
46+ uint64_t chunk_size{0 }; // 24: chunk size used in vdev.
47+ vdev_size_type_t size_type{}; // 32 : Whether its a static or dynamic type.
48+ uint8_t slot_allocated{0 }; // 33 : Is this current slot allocated
49+ uint8_t failed{0 }; // 34 : set to true if disk is replaced
50+ uint8_t hs_dev_type{0 }; // 35 : PDev dev type (as in fast or data)
51+ uint8_t multi_pdev_choice{0 }; // 36 : Choice when multiple pdevs are present (vdev_multi_pdev_opts_t)
52+ char name[max_name_len]; // 37 : Name of the vdev
53+ uint16_t checksum{0 }; // 101 : Checksum of this entire Block
54+ uint8_t alloc_type; // 102 : Allocator type of this vdev
55+ uint8_t chunk_sel_type; // 103 : Chunk Selector type of this vdev_id
56+ uint8_t use_slab_allocator{0 }; // 104 : Use slab allocator for this vdev
57+ uint8_t padding[150 ]{}; // 105 : Padding to make it 256 bytes
5858 uint8_t user_private[user_private_size]{}; // 128: User sepcific information
5959
6060 uint32_t get_vdev_id () const { return vdev_id; }
0 commit comments