Merge ~mirespace/ubuntu/+source/sysstat:lp-1888345-sysstat-iostat-focal--outputJSONfix into ubuntu/+source/sysstat:ubuntu/focal-devel
Status: | Approved |
---|---|
Approved by: | Christian Ehrhardt |
Approved revision: | 58cb9098341444265352577b9af210280bfe98e8 |
Proposed branch: | ~mirespace/ubuntu/+source/sysstat:lp-1888345-sysstat-iostat-focal--outputJSONfix |
Merge into: | ubuntu/+source/sysstat:ubuntu/focal-devel |
Diff against target: |
95 lines (+61/-1) 4 files modified
debian/changelog (+9/-0) debian/control (+2/-1) debian/patches/12-fix-wMB-json-output.patch (+49/-0) debian/patches/series (+1/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Christian Ehrhardt (community) | Approve | ||
Bryce Harrington (community) | Needs Fixing | ||
Review via email: mp+406820@code.launchpad.net |
Description of the change
Hello team,
Here you have the patch proposal for fixing LP: #1888345 for Focal. The number of megabytes written to the device per second was wrong when the output was requested on JSON format (iostat command).
It was made cherry-picking commit from upstream as recommended by sysstat repository's owner (https:/
Anyway, checking system behaviour before and after fixing (grabbing output for the same time, two shells):
Before (spoiler: 0.23 vs 483.45 wMB/s):
- Non JSON output: https:/
- JSON output: https:/
After (spoiler: 0.03 vs 0.03 wMB/s):
- Non JSON output: https:/
- JSON output: https:/
SRU template is not present yet in the bug discussion on LP.
Anything I must change/add, please let me know... Thanks in advance!
Guessing that Christian will be doing the review for this one, but one thing to mention is that when we add patches to a package, our team's standard practice is to add some DEP3 metadata fields.
Here is the template that I use; I suggest saving this locally as you'll be using it often. The referenced link explains what the fields mean.
Description: ... backport| vendor| other, https://... /bugs.launchpad .net/bind/ +bug/NNNNNN /salsa. debian. org/....
...
Author:
Origin: upstream|
Bug: https://...
Bug-Ubuntu: https:/
Bug-Debian: ...
Reviewed-By: ...
Acked-By: ...
Forwarded: no | not-needed | https:/
Applied-Upstream: <release that the fix is expected to be in>, commit:SHA
Last-Update: 2019-06-27
# See https:/ /dep-team. pages.debian. net/deps/ dep3/
Christian can give good guidance on what precisely should be included, but for this patch I am guessing at least "Origin", "Bug-Ubuntu:", "Bug:" should be added to the patch, after the "Signed-off-by:" line.
---
One other important note is that when doing SRUs, the version number is always incremented by a decimal fraction. So in this case the version number should be 12.2.0-2ubuntu0.1
---