Re: [RFC][PATCH v2 2/3] Hold multiple logs

From: Matthew Garrett
Date: Tue Jul 24 2012 - 17:26:24 EST


On Tue, Jul 24, 2012 at 09:12:25PM +0000, Luck, Tony wrote:
> > I think we inevitably lose in that scenario. I'd need to verify, but my
> > recollection is that overwriting existing variables may be equivalent to
> > a delete/create cycle.
>
> This would mean that EFI really wants the OS to treat EFI variables as pretty much
> exclusively read-only. Any activity which periodically updates a variable would
> eventually run into problems in an EFI implementation that loses the old space
> until a reset.

Sure. I'll test with a few implementations and see what I can figure
out. We may just want to reserve some space for pstore, then have delete
in pstore simply map to hiding the entries rather than deleting them.

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/