[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240416162955.00002a4b@linux.intel.com>
Date: Tue, 16 Apr 2024 16:29:55 +0200
From: Mariusz Tkaczyk <mariusz.tkaczyk@...ux.intel.com>
To: Abhinav Jain <jain.abhinav177@...il.com>
Cc: song@...nel.org, yukuai3@...wei.com, linux-raid@...r.kernel.org,
linux-kernel@...r.kernel.org, skhan@...uxfoundation.org,
javier.carrasco.cruz@...il.com
Subject: Re: [PATCH] md: Added journal count to md_u.h
On Mon, 15 Apr 2024 16:08:18 +0000
Abhinav Jain <jain.abhinav177@...il.com> wrote:
> This patch addresses TODO in "./drivers/md/md.c:6752".
> Add journal struct member to mdu_array_info_t in "md_u.h".
> Add the journal field in get_array_info function in "md.c".
> Need feedback on if the update_array_info function needs to be updated.
>
> Signed-off-by: Abhinav Jain <jain.abhinav177@...il.com>
> ---
Hello,
The field you added here is unused. I believe it works but I cannot determine
that as the filed you added in not exposed to user (probably --detail is right
place). Please do some tests and include the example test in commit description.
Please also explain why you see it useful.
For the question you asked, having it in update_array_info requires possibility
to modify/set from userspace, so user interface and/or corresponding metadata
property is needed.
Please explain why it would be useful to have possibility to set it from
userspace, what are the benefits.
Thanks,
Mariusz
Powered by blists - more mailing lists