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

Re: [lvm-devel] [PATCH 1/4] Move guts of pvcreate into library area - prep for vgcreate.



On Tue, Dec 02, 2008 at 02:43:13AM +0000, Alasdair G Kergon wrote:
> Split the validation into optional validation and compulsory validation.
> Offer separate library call(s) for the optional validation, but build
> the compulsory validation into the main call(s).
 
So looking at pvcreate, most of pvcreate_check() is optional and depending
on error handling could be done as one piece or broken into multiple functions.
The few bits of compulsory validation move out of there into the actual 
pvcreate call (which is performed via a vgextend() interface now).

Alasdair
-- 
agk redhat com


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