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

Re: [Xen-devel] [PATCH v10] remus drbd: Implement remus drbd replicated disk

Shriram Rajagopalan writes ("Re: [PATCH v10] remus drbd: Implement remus drbd 
replicated disk"):
> On Wed, Jun 4, 2014 at 8:39 PM, Yang Hongyang <yanghy@xxxxxxxxxxxxxx> wrote:
>     +    if (ackwait) {
>     +        ioctl(rdd->ctl_fd, DRBD_WAIT_CHECKPOINT_ACK, 0);
>     +        ackwait = 0;
>     +    }
> Please get rid of the async execution just to execute a sys
> call.

Are you sure ?  Does this syscall not await network traffic ?

What if the network is broken ?  Might it not then delay indefinitely ?

> Not to mention a fork & exec per sys call,

In fact there is no exec, only a fork.


Xen-devel mailing list



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