From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: [PATCH for-4.5] tools/oxenstored: Fix | vs & error in fd event handling Date: Wed, 26 Nov 2014 19:03:10 +0000 Message-ID: <547623EE.2070303@citrix.com> References: <1417014580-27611-1-git-send-email-andrew.cooper3@citrix.com> <5475F3DF.2070907@zheng.li> <0CD34053-C7C1-423B-9D00-E455B7099968@citrix.com> <20141126184130.GB13384@laptop.dumpdata.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20141126184130.GB13384@laptop.dumpdata.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Konrad Rzeszutek Wilk , Dave Scott Cc: Zheng Li , Wei Liu , Ian Campbell , Xen-devel , "Zheng Li (3P)" , Ian Jackson List-Id: xen-devel@lists.xenproject.org On 26/11/14 18:41, Konrad Rzeszutek Wilk wrote: > On Wed, Nov 26, 2014 at 06:24:11PM +0000, Dave Scott wrote: >>> On 26 Nov 2014, at 15:38, Zheng Li wrote: >>> >>> On 26/11/2014 15:09, Andrew Cooper wrote: >>>> This makes fields 0 and 1 true more often than they should be, resulting >>>> problems when handling events. >>> Indeed, looks like a mistake I made when rewriting the logic terms lately. The result is POLLUP or POLLERR events being returned in more categories than we'd interest. Thanks for fixing this! >>> >>> Acked-by: Zheng Li >> This also looks fine to me >> >> Acked-by: David Scott > Would it be possible to get an Reviewed-by please? Strictly speaking Zheng, not being a maintainer, can't ack the patch, given what I believe to be Xens current rules for these things. However, as the author of the code and comment in this thread, his ack can reasonably be considered equivalent to a Reviewed-by: I guess this is just a matter of semantics. Furthermore, as we all share an office, I have already been through this process informally, and have confirmed the fix under my Xen-4.5 based XenServer branch. There appear to be 100% less "error -EINVAL" messages in the logs. ~Andrew