[lvm-devel] [PATCH] Invalidate devices in cache after precommited metadata was wiped.

Milan Broz mbroz at redhat.com
Mon Dec 21 18:13:36 UTC 2009


On 12/20/2009 04:32 PM, Milan Broz wrote:
> The only place when vginfo->precommited is set is during
> metadata store in cache.
> 
> It means that if we store precommited metadata in cache,
> then call drop_cached_metadata without subsequent storing
> commited metadata, cache is not invalidated on drop cache call.
> 
> If there is no cached metadata, invalidate device info always.

NACKing this myself, the precommited metadata problem is much more
complex and will require another approach.

Milan




More information about the lvm-devel mailing list