Re: [PATCH 2/2] blkcg: don't offline parent blkcg first
From: Tejun Heo
Date: Wed Apr 01 2020 - 16:35:57 EST
On Wed, Jul 24, 2019 at 10:37:55AM -0700, Tejun Heo wrote:
> blkcg->cgwb_refcnt is used to delay blkcg offlining so that blkgs
> don't get offlined while there are active cgwbs on them. However, it
> ends up making offlining unordered sometimes causing parents to be
> offlined before children.
>
> Let's fix this by making child blkcgs pin the parents' online states.
>
> Note that pin/unpin names are chosen over get/put intentionally
> because css uses get/put online for something different.
>
> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
Jens, these two patches slipped through the cracks. Can you please take a look
at them?
Thanks.
--
tejun