search for: virtio_blk_s_read_merges

Displaying 4 results from an estimated 4 matches for "virtio_blk_s_read_merges".

2011 Aug 18
0
[PATCH] virtio-blk: Update spec with new stats vq
...t Plain Layout + +\change_inserted 2090695081 1313646940 + +struct virtio_blk_stat { +\end_layout + +\begin_layout Plain Layout + +\change_inserted 2090695081 1313651887 + +#define VIRTIO_BLK_S_READ_IO 0 +\end_layout + +\begin_layout Plain Layout + +\change_inserted 2090695081 1313651942 + +#define VIRTIO_BLK_S_READ_MERGES 1 +\end_layout + +\begin_layout Plain Layout + +\change_inserted 2090695081 1313651940 + +#define VIRTIO_BLK_S_READ_SECTORS 2 +\end_layout + +\begin_layout Plain Layout + +\change_inserted 2090695081 1313651939 + +#define VIRTIO_BLK_S_READ_TICKS 3 +\end_layout + +\begin_layout Plain Layout + +\chan...
2011 Aug 18
0
[PATCH] virtio-blk: Update spec with new stats vq
...t Plain Layout + +\change_inserted 2090695081 1313646940 + +struct virtio_blk_stat { +\end_layout + +\begin_layout Plain Layout + +\change_inserted 2090695081 1313651887 + +#define VIRTIO_BLK_S_READ_IO 0 +\end_layout + +\begin_layout Plain Layout + +\change_inserted 2090695081 1313651942 + +#define VIRTIO_BLK_S_READ_MERGES 1 +\end_layout + +\begin_layout Plain Layout + +\change_inserted 2090695081 1313651940 + +#define VIRTIO_BLK_S_READ_SECTORS 2 +\end_layout + +\begin_layout Plain Layout + +\change_inserted 2090695081 1313651939 + +#define VIRTIO_BLK_S_READ_TICKS 3 +\end_layout + +\begin_layout Plain Layout + +\chan...
2011 Aug 16
1
[PATCH] virtio-blk: Add stats VQ to collect information about devices
...ts(struct virtio_blk *vb) +{ + struct hd_struct *p = disk_get_part(vb->disk, 0); + int cpu; + int idx = 0; + + cpu = part_stat_lock(); + part_round_stats(cpu, p); + part_stat_unlock(); + + update_stat(vb, idx++, VIRTIO_BLK_S_READ_IO, + part_stat_read(p, ios[READ])); + update_stat(vb, idx++, VIRTIO_BLK_S_READ_MERGES, + part_stat_read(p, merges[READ])); + update_stat(vb, idx++, VIRTIO_BLK_S_READ_SECTORS, + part_stat_read(p, sectors[READ])); + update_stat(vb, idx++, VIRTIO_BLK_S_READ_TICKS, + jiffies_to_msecs(part_stat_read(p, ticks[READ]))); + update_stat(vb, idx++, VIRTIO_BLK_S_WRITE_IO, +...
2011 Aug 16
1
[PATCH] virtio-blk: Add stats VQ to collect information about devices
...ts(struct virtio_blk *vb) +{ + struct hd_struct *p = disk_get_part(vb->disk, 0); + int cpu; + int idx = 0; + + cpu = part_stat_lock(); + part_round_stats(cpu, p); + part_stat_unlock(); + + update_stat(vb, idx++, VIRTIO_BLK_S_READ_IO, + part_stat_read(p, ios[READ])); + update_stat(vb, idx++, VIRTIO_BLK_S_READ_MERGES, + part_stat_read(p, merges[READ])); + update_stat(vb, idx++, VIRTIO_BLK_S_READ_SECTORS, + part_stat_read(p, sectors[READ])); + update_stat(vb, idx++, VIRTIO_BLK_S_READ_TICKS, + jiffies_to_msecs(part_stat_read(p, ticks[READ]))); + update_stat(vb, idx++, VIRTIO_BLK_S_WRITE_IO, +...