Bug 1376926 - backport upstream 4.6+ stable@ DM fixes to arm kernel
Summary: backport upstream 4.6+ stable@ DM fixes to arm kernel
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: kernel-aarch64
Version: 7.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 7.3
Assignee: Mike Snitzer
QA Contact: Bruno Goncalves
URL:
Whiteboard:
: 1376761 (view as bug list)
Depends On:
Blocks: 1372039
TreeView+ depends on / blocked
 
Reported: 2016-09-16 20:30 UTC by Mike Snitzer
Modified: 2016-11-03 22:53 UTC (History)
7 users (show)

Fixed In Version: kernel-aarch64-4.5.0-13.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1378202 (view as bug list)
Environment:
Last Closed: 2016-11-03 22:53:02 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2145 0 normal SHIPPED_LIVE kernel-aarch64 bug fix and enhancement update 2016-11-03 13:11:35 UTC

Description Mike Snitzer 2016-09-16 20:30:56 UTC
Description of problem:

The RHELSA7.3 kernel is missing these important fixes that have gone upstream since Linux 4.5 was released:

6acfe68 dm: fix excessive dm-mq context switching
4df2bf4 dm snapshot: disallow the COW and origin devices from being identical
2eae9e4 dm thin metadata: don't issue prefetches if a transaction abort has failed
d14fcf3 dm cache: make sure every metadata function checks fail_io
98dbc9c dm: fix rq_end_stats() NULL pointer in dm_requeue_original_request()
9567366 dm cache metadata: fix READ_LOCK macros and cleanup WRITE_LOCK macros
6545b60 dm cache metadata: fix cmd_read_lock() acquiring write lock
602d165 dm verity fec: fix block calculation
bd9f55e dm: fix second blk_delay_queue() parameter to be in msec units not jiffies
99f3c90 dm flakey: error READ bios during the down_interval
7d9595d dm rq: fix the starting and stopping of blk-mq queues
eaf9a73 dm: set DMF_SUSPENDED* _before_ clearing DMF_NOFLUSH_SUSPENDING
299f623 dm flakey: fix reads to be issued if drop_writes configured

It should be noted that this small set of stable.org patch is a subset of the much larger 150+ DM patches that RHELSA7.3 doesn't have.

Comment 1 Mike Snitzer 2016-09-16 20:33:35 UTC
*** Bug 1376761 has been marked as a duplicate of this bug. ***

Comment 3 Mike Snitzer 2016-09-16 21:59:44 UTC
This work is snow-balling... there is code in the 4.5 kernel that I am _not_ willing to support (specifically we need upstream commit c5248f79f39 ("dm: remove support for stacking dm-mq on .request_fn device(s)")).  Getting that commit to apply will require more extensive backport work.

Comment 7 Bruno Goncalves 2016-09-27 11:45:48 UTC
It passed on our regression test on RHEL-7.3 Snap#5 (kernel-4.5.0-13.el7.aarch64) and BZ#1376761 is also not reproducible with this kernel.

Comment 9 errata-xmlrpc 2016-11-03 22:53:02 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2145.html


Note You need to log in before you can comment on or make changes to this bug.