[lvm-devel] [PATCH 01/11] Add mda_slots field for PV info in the cache.

Peter Rajnoha prajnoha at redhat.com
Thu Nov 25 13:45:33 UTC 2010


On 11/25/2010 02:39 PM +0100, Peter Rajnoha wrote:
> Of course, I can avoid using the cache this way, but that would mean far more
> changes to be done (for this interface to work). At least, it would mean consolidating
> the use of "format instance" and change the structure and its use throughout the
> code.

..I'd like to avoid making another copy of the cache. It's not about performance right
now, but it's more about keeping the code readable - having N copies of the same structures
around the code will bring confusion and bugs...

Peter




More information about the lvm-devel mailing list