[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <170248081296.44340.16976032771590083104.b4-ty@kernel.dk>
Date: Wed, 13 Dec 2023 08:20:12 -0700
From: Jens Axboe <axboe@...nel.dk>
To: akpm@...ux-foundation.org, ming.lei@...onical.com,
linan666@...weicloud.com
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
yukuai3@...wei.com, yi.zhang@...wei.com, houtao1@...wei.com,
yangerkun@...wei.com
Subject: Re: [PATCH] block: Set memalloc_noio to false on device_add_disk()
error path
On Mon, 11 Dec 2023 15:53:56 +0800, linan666@...weicloud.com wrote:
> On the error path of device_add_disk(), device's memalloc_noio flag was
> set but not cleared. As the comment of pm_runtime_set_memalloc_noio(),
> "The function should be called between device_add() and device_del()".
> Clear this flag before device_del() now.
>
>
Applied, thanks!
[1/1] block: Set memalloc_noio to false on device_add_disk() error path
commit: 5fa3d1a00c2d4ba14f1300371ad39d5456e890d7
Best regards,
--
Jens Axboe
Powered by blists - more mailing lists