Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp760903imm; Tue, 15 May 2018 08:48:14 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqiqBGtTy/h3WEb0XiQQic40ig8egoNFQce/W0x+ihKRQfosQ0aP8Qq+vsjRqbOtwv/BnTW X-Received: by 2002:a17:902:7488:: with SMTP id h8-v6mr15218445pll.124.1526399294607; Tue, 15 May 2018 08:48:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526399294; cv=none; d=google.com; s=arc-20160816; b=F3a5KFxjebLVl4mdNOEq4skLACdhg4n7jO+THmNXi79JYVoowYU4TjBtSywQNuaFnc 17Y1/nHNyGGRlqjvOtK7vCHyirWn5OzhKRaLQy3LElXBavUdAG6SEj0Ioij1ReOIO4Ll D+y/SpzgnmiB0LSqp91FMmcuHWjphYc01DUNgPvgjz0KcM/kKgHgyCKDB2V74F9xlItq K7zojFa+GqhJ4FjokWFgz+t43Cljm2ipCkI6uGn4o+hTNoXqE2Ast/aHa146+VUzS5Wo SFhIHV7wKOAKijjUgDYFOpAsLuz7EkTvgE3SjH3RQMzgyJtsIvcWFmpbMiQk1zTBFvHp 0GmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=MH5pHE2MoeEwT57aftAFMCDXf/aD+qZJoLQ2iQ9rkFo=; b=P6FFi2Ub/++4555aP6KNms+/w4Y4kNvce1HnZz8KIJf9fzTK2SDEwW4svGreU0V9d8 2n/1maeosuq8JgZ32cfokv4Ee+kv3Yg0Dq7FRPA9L2EF/Yu+ymy71t8PBl3fq8/vrl2n PjTUfEadtIce3H0G7G4Kd2azhuvjtX5UmE8WfIzqrUGIbM1Kv4cWwoyl/dyPr6E6l0Yq AuWFADfIP8NWFfrpwR5PPefAbjfSkqjNxU/r7kZGQtEM14PN9qFO51s2vqoElSZQ+Hum bPUtZMEuFx6Jm2jlOH1izZRbeNi9bUSIMw0cgsnLljYxIqHlMvz+hktoHNvJ6UKH9UBc 7vnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=uKJ2OL4X; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h68-v6si317728pfa.238.2018.05.15.08.47.59; Tue, 15 May 2018 08:48:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=uKJ2OL4X; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753323AbeEOPDE (ORCPT + 99 others); Tue, 15 May 2018 11:03:04 -0400 Received: from casper.infradead.org ([85.118.1.10]:33504 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752764AbeEOPDC (ORCPT ); Tue, 15 May 2018 11:03:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Type:MIME-Version:References: Message-ID:In-Reply-To:Subject:cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=MH5pHE2MoeEwT57aftAFMCDXf/aD+qZJoLQ2iQ9rkFo=; b=uKJ2OL4Xi/uBTsVZZYSbCt3ol FiGZCEtuM+vgCUxhBJLwGazK70riHpYtK82lzjcOGyUI6ToHhp8MtEbHyO7F7mTeVcaatOxhFYDX+ EEIGFxDkj84XJcHlYjFAFziPbPAqH18wkKjZ/9kagiSE66gY7xsIDxsBt7ySTzqIqeEWJpri4gZKz DM0mt1fVLUjwTklc0FiAQRK+dXdCZrri2Ox4U45SgUhhmLdBqJ1wAv4QHbNfMcH2G8qIpMtqbxhDs p2x38rTtwwHbJZScLExUI2IKSrVYFMbb1+MojxbQ6Zs9gB4mi5BOmQRE+NVR1IP8Y9l4Qcyr3pFAZ 9iiJ+9b6w==; Received: from jsimmons (helo=localhost) by casper.infradead.org with local-esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fIbTb-0005QR-A0; Tue, 15 May 2018 15:02:56 +0000 Date: Tue, 15 May 2018 16:02:55 +0100 (BST) From: James Simmons To: Dan Carpenter cc: Greg Kroah-Hartman , devel@driverdev.osuosl.org, Andreas Dilger , Oleg Drokin , Lai Siyao , Jinshan Xiong , NeilBrown , Linux Kernel Mailing List , Lustre Development List Subject: Re: [PATCH 4/4] staging: lustre: obdclass: change object lookup to no wait mode In-Reply-To: <20180508114500.qrtnjax4siupgv3n@mwanda> Message-ID: References: <1525285308-15347-1-git-send-email-jsimmons@infradead.org> <1525285308-15347-5-git-send-email-jsimmons@infradead.org> <20180508114500.qrtnjax4siupgv3n@mwanda> User-Agent: Alpine 2.21 (LFD 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180515_160255_336397_98E7E5CF X-CRM114-Status: GOOD ( 19.34 ) X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.1 on casper.infradead.org summary: Content analysis details: (-0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 NO_RELAYS Informational: message was not relayed via SMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > /* > > * Allocate new object. This may result in rather complicated > > * operations, including fld queries, inode loading, etc. > > */ > > o = lu_object_alloc(env, dev, f, conf); > > - if (IS_ERR(o)) > > + if (unlikely(IS_ERR(o))) > > return o; > > > > This is an unrelated and totally pointless. likely/unlikely annotations > hurt readability, and they should only be added if it's something which > is going to show up in benchmarking. lu_object_alloc() is already too > slow for the unlikely() to make a difference and anyway IS_ERR() has an > unlikely built in so it's duplicative... Sounds like a good checkpatch case to test for :-) Some people like to try and milk ever cycle they can. Personally for me I never use those annotations. With modern processors I'm skeptical if their benefits. I do cleanup up the patches to some extent to make it compliant with kernel standards but leave the core code in place for people to comment on. > Anyway, I understand that Intel has been ignoring kernel.org instead of > sending forwarding their patches properly so you're doing a difficult > and thankless job... Thanks for that. I'm sure it's frustrating to > look at these patches for you as well. Thank you for the complement. Also thank you for taking time to review these patches. Your feedback is most welcomed and benefitical to the health of the lustre client. Sadly its not just Intel but other vendors that don't directly contribute to the linux lustre client. I have spoke to the vendors about contributing and they all say the same thing. No working with drivers in the staging tree. Sadly all the parties involved are very interested in the success of the lustre client. No one has ever told me directly why they don't get involved but I suspect it has to deal with 2 reasons. One is that staging drivers are not normally enabled by distributions so their clients normally will never deal with the staging lustre client. Secondly vendors just lack the man power to contribute in a meanful way.