search for: virtio_blk_s_io_ticks

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

2011 Aug 18
0
[PATCH] virtio-blk: Update spec with new stats vq
...ut + +\change_inserted 2090695081 1313651934 + +#define VIRTIO_BLK_S_WRITE_TICKS 7 +\end_layout + +\begin_layout Plain Layout + +\change_inserted 2090695081 1313651932 + +#define VIRTIO_BLK_S_IN_FLIGHT 8 +\end_layout + +\begin_layout Plain Layout + +\change_inserted 2090695081 1313651931 + +#define VIRTIO_BLK_S_IO_TICKS 9 +\end_layout + +\begin_layout Plain Layout + +\change_inserted 2090695081 1313651930 + +#define VIRTIO_BLK_S_TIME_IN_QUEUE 10 +\end_layout + +\begin_layout Plain Layout + +\change_inserted 2090695081 1313646835 + + u16 tag; +\end_layout + +\begin_layout Plain Layout + +\change_inserted 2090695081...
2011 Aug 18
0
[PATCH] virtio-blk: Update spec with new stats vq
...ut + +\change_inserted 2090695081 1313651934 + +#define VIRTIO_BLK_S_WRITE_TICKS 7 +\end_layout + +\begin_layout Plain Layout + +\change_inserted 2090695081 1313651932 + +#define VIRTIO_BLK_S_IN_FLIGHT 8 +\end_layout + +\begin_layout Plain Layout + +\change_inserted 2090695081 1313651931 + +#define VIRTIO_BLK_S_IO_TICKS 9 +\end_layout + +\begin_layout Plain Layout + +\change_inserted 2090695081 1313651930 + +#define VIRTIO_BLK_S_TIME_IN_QUEUE 10 +\end_layout + +\begin_layout Plain Layout + +\change_inserted 2090695081 1313646835 + + u16 tag; +\end_layout + +\begin_layout Plain Layout + +\change_inserted 2090695081...
2011 Aug 16
1
[PATCH] virtio-blk: Add stats VQ to collect information about devices
...e_stat(vb, idx++, VIRTIO_BLK_S_WRITE_SECTORS, + part_stat_read(p, sectors[WRITE])); + update_stat(vb, idx++, VIRTIO_BLK_S_WRITE_TICKS, + jiffies_to_msecs(part_stat_read(p, ticks[WRITE]))); + update_stat(vb, idx++, VIRTIO_BLK_S_IN_FLIGHT, + part_in_flight(p)); + update_stat(vb, idx++, VIRTIO_BLK_S_IO_TICKS, + jiffies_to_msecs(part_stat_read(p, io_ticks))); + update_stat(vb, idx++, VIRTIO_BLK_S_TIME_IN_QUEUE, + jiffies_to_msecs(part_stat_read(p, time_in_queue))); +} + +static void stats_request(struct virtqueue *vq) +{ + struct virtio_blk *vb; + unsigned int len; + + vb = virtqueue_get_buf(v...
2011 Aug 16
1
[PATCH] virtio-blk: Add stats VQ to collect information about devices
...e_stat(vb, idx++, VIRTIO_BLK_S_WRITE_SECTORS, + part_stat_read(p, sectors[WRITE])); + update_stat(vb, idx++, VIRTIO_BLK_S_WRITE_TICKS, + jiffies_to_msecs(part_stat_read(p, ticks[WRITE]))); + update_stat(vb, idx++, VIRTIO_BLK_S_IN_FLIGHT, + part_in_flight(p)); + update_stat(vb, idx++, VIRTIO_BLK_S_IO_TICKS, + jiffies_to_msecs(part_stat_read(p, io_ticks))); + update_stat(vb, idx++, VIRTIO_BLK_S_TIME_IN_QUEUE, + jiffies_to_msecs(part_stat_read(p, time_in_queue))); +} + +static void stats_request(struct virtqueue *vq) +{ + struct virtio_blk *vb; + unsigned int len; + + vb = virtqueue_get_buf(v...