From: Ian Jackson Subject: Re: [PATCH v10] remus drbd: Implement remus drbd replicated disk Date: Thu, 5 Jun 2014 18:41:13 +0100 Message-ID: <21392.43961.872654.69939@mariner.uk.xensource.com> References: <1401932069-16460-6-git-send-email-yanghy@cn.fujitsu.com> <1401932386-16538-1-git-send-email-yanghy@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: rshriram@cs.ubc.ca Cc: Roger Pau =?utf-8?Q?Monn=C3=A9?= , Lai Jiangshan , Wen Congyang , Andrew Cooper , Jiang Yunhong , Dong Eddie , "xen-devel@lists.xen.org" , Yang Hongyang , Ian Campbell List-Id: xen-devel@lists.xenproject.org Shriram Rajagopalan writes ("Re: [PATCH v10] remus drbd: Implement remus drbd replicated disk"): > On Wed, Jun 4, 2014 at 8:39 PM, Yang Hongyang 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. Ian.