[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250513074304.GA2696@lst.de>
Date: Tue, 13 May 2025 09:43:04 +0200
From: Christoph Hellwig <hch@....de>
To: Yu Kuai <yukuai1@...weicloud.com>
Cc: Christoph Hellwig <hch@....de>, xni@...hat.com, colyli@...nel.org,
agk@...hat.com, snitzer@...nel.org, mpatocka@...hat.com,
song@...nel.org, linux-kernel@...r.kernel.org,
dm-devel@...ts.linux.dev, linux-raid@...r.kernel.org,
yi.zhang@...wei.com, yangerkun@...wei.com, johnny.chenyi@...wei.com,
"yukuai (C)" <yukuai3@...wei.com>
Subject: Re: [PATCH RFC md-6.16 v3 15/19] md/md-llbitmap: implement APIs to
dirty bits and clear bits
On Tue, May 13, 2025 at 03:14:03PM +0800, Yu Kuai wrote:
> Yes, following change can work as well.
>
> Just wonder, if the array is created by another array, and which is
> created by another array ... In this case, the stack depth can be
> huge. :( This is super weird case, however, should we keep the old code
> in this case?
Yeah, that's a good question. Stacking multiple arrays using bitmaps
on top of each other is weird. But what if other block remappers
starting to use this for other remapping and they are stacked? That
seems much more likely unfotunately, so maybe we can't go down this
route after all, sorry for leading you to it.
So instead just write a comment documenting why you switch to a
different stack using the workqueue.
Powered by blists - more mailing lists