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

Re: [Xen-devel] [PATCH RFC] remus: implement remus replicated checkpointing disk

>     +
>     +static libxl__remus_disk *drbd_setup(libxl__gc *gc, libxl_device_disk *disk)
>     +{
>     +    libxl__remus_drbd_disk *drbd;
>     +    //if (!(drbd && protocal-D)) // TODO: need to run script async to check
>     +    //  return NULL
>     +
> We don't need to run any scripts for DRBD (or tapdisk for that matter).

It is hard to check the status/configuration of DRBD-disk in C code,
it requires drbd C-header files(with remus supported).

I find no way to do it. So we try to use scripts.

Okay. So these are not setup scripts. But merely sanity check scripts to ensure
the proper version of kernel module and userspace tools for DRBD are installed.
In which case, yes, a script makes more sense and its much easier.

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.