@@ -83,7 +83,7 @@ static void print_chunk(struct extent_buffer *eb, struct btrfs_chunk *chunk)
{
int num_stripes = btrfs_chunk_num_stripes(eb, chunk);
int i;
- printf("\t\tchunk length %llu owner %llu type %llu num_stripes %d\n",
+ printf("\t\tchunk length %llu owner %llu type 0x%llx num_stripes %d\n",
(unsigned long long)btrfs_chunk_length(eb, chunk),
(unsigned long long)btrfs_chunk_owner(eb, chunk),
(unsigned long long)btrfs_chunk_type(eb, chunk),
@@ -98,10 +98,11 @@ static void print_dev_item(struct extent_buffer *eb,
struct btrfs_dev_item *dev_item)
{
printf("\t\tdev item devid %llu "
- "total_bytes %llu bytes used %Lu\n",
+ "total_bytes %llu bytes used %Lu speed %u\n",
(unsigned long long)btrfs_device_id(eb, dev_item),
(unsigned long long)btrfs_device_total_bytes(eb, dev_item),
- (unsigned long long)btrfs_device_bytes_used(eb, dev_item));
+ (unsigned long long)btrfs_device_bytes_used(eb, dev_item),
+ btrfs_device_seek_speed(eb, dev_item));
}
static void print_uuids(struct extent_buffer *eb)