[U-Boot] [PATCH v2 0/4] Add atomic write to fw_setenv for environments on filesystems
Alex Kiernan
alex.kiernan at gmail.com
Fri Mar 9 12:51:14 UTC 2018
On Fri, Mar 9, 2018 at 12:30 PM, Wolfgang Denk <wd at denx.de> wrote:
> Dear Alex,
>
> In message <1520597582-12979-1-git-send-email-alex.kiernan at gmail.com> you wrote:
>>
>> For environments stored on filesystems where you can't have a redundant
>> configuration, rather than just over-writing the existing environment
>> in fw_setenv, do the tradtional create temporary file, rename, sync,
>> sync directory dance to achieve ACID semantics when writing through
>> fw_setenv.
>
> I isagree with the statement that we _can't have_ redundant
Yeah... sorry, sloppy wording on my part.
> environments in a file system. It may not be supported by the
> current implementation, but there is actually nothing that would
> prevent us to come up with more powerful code that supports exactly
> such a feature.
>
> [This does not mean that I disagree with your patch - on contary, I
> think it's good.]
>
Thanks!
--
Alex Kiernan
More information about the U-Boot
mailing list