[lvm-devel] [PATCH 04/17] Add format_instance support for pv_read.

Peter Rajnoha prajnoha at redhat.com
Wed Jan 26 11:12:17 UTC 2011


On 01/26/2011 12:05 PM +0100, Peter Rajnoha wrote:
> It's because this _pv_read could be part of a vg_read (e.g. _vg_read_orphans).

..for the other "vg_read", we call the other fn, the _read_pv (_pv_read - read_pv
nice :) ). That one already handles the fid through the "fid" parameter and
then we call add_pvl_to_vgs which does the job of referencing the pv->fid to pv->vg->fid
(the format instance is already done before that where we create the VG-based
fid). So everything is tied together nicely...

Peter




More information about the lvm-devel mailing list