From: Avnish Chouhan <avnish@linux.ibm.com>
To: mchang@suse.com
Cc: grub-devel@gnu.org, ngompa13@gmail.com, mlewando@redhat.com,
Daniel Kiper <daniel.kiper@oracle.com>
Subject: Re: [PATCH v2 3/9] util/grub-editenv: add fs_envblk write helper
Date: Tue, 07 Oct 2025 10:52:23 +0530 [thread overview]
Message-ID: <56a778a5207091b089081f6eb9c2ccb2@linux.ibm.com> (raw)
In-Reply-To: <gkhikcymhujom7r3ap5hhhxhxdxinhbi3utjzr2xbolu33vx7k@55h3eh5bunq3>
On 2025-10-02 11:23, Michael Chang wrote:
> Hi Avnish,
>
> Thanks a not for the review, please check my comments below.
>
> On Wed, Sep 17, 2025 at 04:34:52PM +0530, Avnish Chouhan wrote:
>> On 2025-09-15 14:39, grub-devel-request@gnu.org wrote:
>> > Message: 4
>> > Date: Mon, 15 Sep 2025 17:08:42 +0800
>> > From: Michael Chang <mchang@suse.com>
>> > To: The development of GNU GRUB <grub-devel@gnu.org>
>> > Cc: Neal Gompa <ngompa13@gmail.com>, Marta Lewandowska
>> > <mlewando@redhat.com>
>> > Subject: [PATCH v2 3/9] util/grub-editenv: add fs_envblk write helper
>> > Message-ID: <20250915090848.131937-4-mchang@suse.com>
>> >
>> > This patch adds the function fs_envblk_write to update the reserved
>> > environment block on disk. The helper takes an in memory envblk buffer
>> > and writes it back to the device at the location defined by the
>> > fs_envblk specification. It performs size checks and uses file sync to
>> > ensure that the updated data is flushed.
>> >
>> > The helper is also added into the fs_envblk ops table, together with the
>> > open helper from the previous patch. With this change the basic input
>> > and output path for an external environment block is complete. The
>> > choice of which variables should be written externally will be handled
>> > by later patches.
>> >
>> > Signed-off-by: Michael Chang <mchang@suse.com>
Reviewed-by: Avnish Chouhan <avnish@linux.ibm.com>
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
next prev parent reply other threads:[~2025-10-07 5:23 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.4306.1757927367.1200.grub-devel@gnu.org>
2025-09-15 13:07 ` [PATCH v2 1/9] util/grub-editenv: add basic structures and probe call for external envblk Avnish Chouhan
2025-09-16 4:58 ` Michael Chang via Grub-devel
2025-09-16 17:06 ` Avnish Chouhan
2025-09-17 10:43 ` [PATCH v2 2/9] util/grub-editenv: add fs_envblk open helper Avnish Chouhan
2025-10-02 5:44 ` Michael Chang via Grub-devel
2025-10-07 5:24 ` Avnish Chouhan
2025-09-17 11:04 ` [PATCH v2 3/9] util/grub-editenv: add fs_envblk write helper Avnish Chouhan
2025-10-02 5:53 ` Michael Chang via Grub-devel
2025-10-07 5:22 ` Avnish Chouhan [this message]
2025-09-15 9:08 [PATCH v2 0/9] Add support for external environment block on Btrfs Michael Chang via Grub-devel
2025-09-15 9:08 ` [PATCH v2 3/9] util/grub-editenv: add fs_envblk write helper Michael Chang via Grub-devel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56a778a5207091b089081f6eb9c2ccb2@linux.ibm.com \
--to=avnish@linux.ibm.com \
--cc=daniel.kiper@oracle.com \
--cc=grub-devel@gnu.org \
--cc=mchang@suse.com \
--cc=mlewando@redhat.com \
--cc=ngompa13@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).