2019-09-23 15:00:28 |
Colin Ian King |
bug |
|
|
added bug |
2019-09-23 16:41:57 |
Colin Ian King |
stress-ng: status |
New |
Fix Committed |
|
2019-09-23 16:42:40 |
Colin Ian King |
stress-ng: importance |
Undecided |
Medium |
|
2019-09-23 16:42:43 |
Colin Ian King |
stress-ng: assignee |
|
Colin Ian King (colin-king) |
|
2019-09-24 07:15:21 |
Colin Ian King |
bug task added |
|
stress-ng (Ubuntu) |
|
2019-09-24 07:15:58 |
Colin Ian King |
stress-ng (Ubuntu): milestone |
|
bionic-updates |
|
2019-09-24 07:16:12 |
Colin Ian King |
nominated for series |
|
Ubuntu Bionic |
|
2019-09-24 07:16:12 |
Colin Ian King |
bug task added |
|
stress-ng (Ubuntu Bionic) |
|
2019-09-24 07:16:12 |
Colin Ian King |
nominated for series |
|
Ubuntu Eoan |
|
2019-09-24 07:16:12 |
Colin Ian King |
bug task added |
|
stress-ng (Ubuntu Eoan) |
|
2019-09-24 07:16:12 |
Colin Ian King |
nominated for series |
|
Ubuntu Disco |
|
2019-09-24 07:16:12 |
Colin Ian King |
bug task added |
|
stress-ng (Ubuntu Disco) |
|
2019-09-24 07:16:21 |
Colin Ian King |
stress-ng (Ubuntu Eoan): milestone |
bionic-updates |
|
|
2019-09-24 07:16:35 |
Colin Ian King |
bug task deleted |
stress-ng |
|
|
2019-09-24 07:16:49 |
Colin Ian King |
stress-ng (Ubuntu Bionic): importance |
Undecided |
Medium |
|
2019-09-24 07:16:51 |
Colin Ian King |
stress-ng (Ubuntu Disco): importance |
Undecided |
Medium |
|
2019-09-24 07:16:52 |
Colin Ian King |
stress-ng (Ubuntu Eoan): importance |
Undecided |
Medium |
|
2019-09-24 07:16:54 |
Colin Ian King |
stress-ng (Ubuntu Bionic): assignee |
|
Colin Ian King (colin-king) |
|
2019-09-24 07:16:57 |
Colin Ian King |
stress-ng (Ubuntu Disco): assignee |
|
Colin Ian King (colin-king) |
|
2019-09-24 07:17:00 |
Colin Ian King |
stress-ng (Ubuntu Eoan): assignee |
|
Colin Ian King (colin-king) |
|
2019-09-24 07:17:14 |
Colin Ian King |
stress-ng (Ubuntu Bionic): status |
New |
In Progress |
|
2019-09-24 07:17:16 |
Colin Ian King |
stress-ng (Ubuntu Disco): status |
New |
In Progress |
|
2019-09-24 07:17:18 |
Colin Ian King |
stress-ng (Ubuntu Eoan): status |
New |
In Progress |
|
2019-09-24 07:52:12 |
Colin Ian King |
description |
Ensure zero's are written to backing store of at least one page size and sync it so that we can be 100% sure that mmap'ing the page into memory is backed with data so we don't get BUS errors on some platforms such as armhf Raspi2. |
== SRU Justification BIONIC, DISCO ==
When running the mcontend stressor on slow armhf devices that have slow memory backed I/O one can get SIGBUS on a file backed mmap because the flush has been slow to allocate the page and we're mmapping and accessing a as yet allocated page on the backing store.
== Test Proceedure ==
Run:
stress-ng --mcontend 1 -t 10 -v
without the fix, we get SIGBUS failures because we touch a page that has not yet had the backing mmap page allocated and flushed to the file system.
== Fix ==
commit c3678dadee23f9b8783038f54463cff5741a9cbe
Author: Colin Ian King <colin.king@canonical.com>
Date: Mon Sep 23 15:54:13 2019 +0100
stress-mcontend: ensure mmap'd file is sync'd with zero data (LP: #1845011)
Write zero's to backing store of at least one page size and sync
it so that we can be 100% sure that mmap'ing the page into memory
is backed with data so we don't get BUS errors on some platforms
such as armhf Raspi2.
Also fix broken sanity check on 2nd mmap out of memory failure.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
== Regression Potential ==
Minimal. This replaces the more esoteric fallocate() with a direct set of file writes and a sync to ensure data is written back before we mmap onto it. The fixed behaviour is slower as we introduce a sync, so we have the possibility of the sync blocking for a long time if the system has a lot of dirty data, but this is necessary as fsync() is less portable and sync guarantees we really have data to mmap onto to avoid the SIGBUS. |
|
2019-09-24 07:52:25 |
Colin Ian King |
stress-ng (Ubuntu Eoan): status |
In Progress |
Fix Committed |
|
2019-09-24 08:16:39 |
Colin Ian King |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2019-09-24 09:12:51 |
Launchpad Janitor |
stress-ng (Ubuntu Eoan): status |
Fix Committed |
Fix Released |
|
2019-09-24 18:40:06 |
Brian Murray |
stress-ng (Ubuntu Disco): status |
In Progress |
Fix Committed |
|
2019-09-24 18:40:09 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2019-09-24 18:40:13 |
Brian Murray |
tags |
|
verification-needed verification-needed-disco |
|
2019-09-25 12:30:11 |
Colin Ian King |
tags |
verification-needed verification-needed-disco |
verification-done verification-done-disco |
|
2019-10-03 08:06:44 |
Launchpad Janitor |
stress-ng (Ubuntu Disco): status |
Fix Committed |
Fix Released |
|
2019-10-03 08:06:52 |
Ćukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2019-10-03 17:22:59 |
Colin Ian King |
stress-ng (Ubuntu Bionic): status |
In Progress |
Fix Committed |
|
2019-10-08 13:21:11 |
Colin Ian King |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2019-10-19 04:09:07 |
Mathew Hodson |
stress-ng (Ubuntu Bionic): status |
Fix Committed |
In Progress |
|
2019-10-19 04:09:31 |
Mathew Hodson |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2019-10-25 07:49:58 |
Timo Aaltonen |
stress-ng (Ubuntu Bionic): status |
In Progress |
Fix Committed |
|
2019-10-25 07:50:05 |
Timo Aaltonen |
tags |
verification-done verification-done-disco |
verification-done-disco verification-needed verification-needed-bionic |
|
2019-10-25 08:56:02 |
Colin Ian King |
tags |
verification-done-disco verification-needed verification-needed-bionic |
verification-done verification-done-bionic verification-done-disco |
|
2019-10-29 03:17:32 |
Mathew Hodson |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2019-11-25 11:23:05 |
Launchpad Janitor |
stress-ng (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|