Skip to contentSkip to conversation

virtio: console: Fixes, cleanups, stats for bytes transferred

PATCH Amit Shah 2 participants 2 messages Oct 31, 2011 1 message not in the archive virtio core

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Amit Shah

author
#1 lore raw
Quoted 5 lines · Amit Shah

Hello,

These patches are mostly cleanups (patches 1, 4, 5, 6, 7). Patches 2 and 3 fix cases which will be exposed when S4 support is enabled.

Quoted 8 lines

Patch 8 adds stats for bytes received, sent and discarded for each port. These are added for debugging data loss issues (rather, pointing out they don't exist). Closing a port while data transfer is ongoing resulted in discarding of any pending data in the vq, which is the expected case. Adding these stats just helps showing there's no data loss, but things are working as they were designed.

Please apply.

Hey Rusty,

Can you push this series to Linus for 3.2? Thanks!

Amit

#2 lore raw
Quoted 13 lines · Amit Shah
Quoted 12 lines · Amit Shah

Hello,

These patches are mostly cleanups (patches 1, 4, 5, 6, 7). Patches 2 and 3 fix cases which will be exposed when S4 support is enabled.

Patch 8 adds stats for bytes received, sent and discarded for each port. These are added for debugging data loss issues (rather, pointing out they don't exist). Closing a port while data transfer is ongoing resulted in discarding of any pending data in the vq, which is the expected case. Adding these stats just helps showing there's no data loss, but things are working as they were designed.

Quoted 5 lines
Quoted 1 line

Please apply.

Hey Rusty,

Can you push this series to Linus for 3.2? Thanks!

Yep, was going to do it yesterday but spent the day chasing console breakage in lguest, but it's not caused by these.

Thanks,
Rusty.