virtio: console: Fixes, cleanups, stats for bytes transferred
A message that is not in the archive (sent off-list or not yet received): [email protected]
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
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.