[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]