[SRU][Xenial][PATCH 0/1] block: Fix a race between blk_cleanup_queue() and timeout handling

Joseph Salisbury joseph.salisbury at canonical.com
Thu Sep 20 10:01:39 UTC 2018


BugLink: https://bugs.launchpad.net/bugs/1791790

== SRU Justification ==
The following commit was applied to Xenial and introduced this
regression:
287922eb0b18 ("block: defer timeouts to a workqueue")

This regression was introduced in mainline as of v4.5-rc1.  Bionc was
also affected by this regression, but it already go the fix when commit
4e9b6f20828a was applied to mainline in v4.15-rc1.

The regression caused a kernel hang because the HPSA driver has a tendency 
to aggressively remove missing devices.

== Fix ==
4e9b6f20828a ("block: Fix a race between blk_cleanup_queue() and timeout handling")

== Regression Potential ==
Low.  This commit fixes a regression and has been cc'd to stable, so it
has had addition upstream review.  This commit is already applied to
Bionic and Cosmic.

== Test Case ==
A test kernel was built with this patch and tested by the original bug reporter.
The bug reporter states the test kernel resolved the bug.

Bart Van Assche (1):
  block: Fix a race between blk_cleanup_queue() and timeout handling

 block/blk-core.c    | 2 ++
 block/blk-timeout.c | 3 ---
 2 files changed, 2 insertions(+), 3 deletions(-)

-- 
2.7.4





More information about the kernel-team mailing list