mbox series

[GIT,PULL] md-next 20220801

Message ID 3F8544E8-484A-4E67-9052-90C07F1C387D@fb.com (mailing list archive)
State New, archived
Headers show
Series [GIT,PULL] md-next 20220801 | expand

Pull-request

https://git.kernel.org/pub/scm/linux/kernel/git/song/md.git md-next

Message

Song Liu Aug. 1, 2022, 5:15 p.m. UTC
Hi Jens, 

Please consider pulling the following changes for md-next on top of your
for-5.20/drivers-post branch. The major change is:

1. Fix potential deadlock with raid5_quiesce and and raid5_get_active_stripe, 
   by Logan Gunthorpe. 

This pull request was delayed because of some pending discussion [1]. Since
the discussion is more about code readability, I suggest we ship the fix now, 
and address the readability concern later. 

Thanks,
Song


[1] https://lore.kernel.org/linux-raid/20220727210600.120221-1-logang@deltatee.com/T/#u





The following changes since commit c9ca8dcc66a99d1123f0fdc2dc161436b93d194b:

  block: pass struct queue_limits to the bio splitting helpers (2022-07-27 10:27:58 -0600)

are available in the Git repository at:

   https://git.kernel.org/pub/scm/linux/kernel/git/song/md.git md-next

for you to fetch changes up to ae0a80935d6a65764b0db00c8b03d3807b4110a6:

  drivers:md:fix a potential use-after-free bug (2022-07-27 22:51:58 -0700)

----------------------------------------------------------------
Logan Gunthorpe (5):
      md/raid5: Refactor raid5_get_active_stripe()
      md/raid5: Make is_inactive_blocked() helper
      md/raid5: Drop unnecessary call to r5c_check_stripe_cache_usage()
      md/raid5: Move stripe_request_ctx up
      md/raid5: Ensure batch_last is released before sleeping for quiesce

Wentao_Liang (1):
      drivers:md:fix a potential use-after-free bug

 drivers/md/raid5.c | 164 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------------------------------------
 drivers/md/raid5.h |   2 +-
 2 files changed, 102 insertions(+), 64 deletions(-)

Comments

Jens Axboe Aug. 1, 2022, 5:22 p.m. UTC | #1
On 8/1/22 11:15 AM, Song Liu wrote:
> Hi Jens, 
> 
> Please consider pulling the following changes for md-next on top of your
> for-5.20/drivers-post branch. The major change is:
> 
> 1. Fix potential deadlock with raid5_quiesce and and raid5_get_active_stripe, 
>    by Logan Gunthorpe.

Pulled, thanks.