[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250512132502.GB31781@lst.de>
Date: Mon, 12 May 2025 15:25:02 +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 11/19] md/md-llbitmap: implement bitmap
IO
On Mon, May 12, 2025 at 04:15:34PM +0800, Yu Kuai wrote:
>>> +static bool is_raid456(struct mddev *mddev)
>>> +{
>>> + return (mddev->level == 4 || mddev->level == 5 || mddev->level == 6);
>>> +}
>>
>> This really should be in a common helper somewhere..
>
> Perhaps md.h?
Sounds good.
Powered by blists - more mailing lists