Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2245842imm; Wed, 16 May 2018 09:58:03 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqklnpy1fIgTKQW+lEyAupSgy+OJyr2k7fLRIU9Fow64jGENl5lnmoEK3fotj4Diqfnl8Fy X-Received: by 2002:a17:902:b286:: with SMTP id u6-v6mr1747403plr.68.1526489883212; Wed, 16 May 2018 09:58:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526489883; cv=none; d=google.com; s=arc-20160816; b=XqPr4Hp8T74zUQtL0gWw6TSmUxKd3BvOamWnVgTVbMg/754quiLvs8+NQ8E9pQ0TrG ITh12/ks09aAY/FeeDcWwcKuOuudnUflBYOSJDyAfbo2JE1Py8UZmI3w30knyDc2BYQz tcoIKnP28msql2NRUGUaFyADDYmBl7N+73AJlUFA+Ro5aJWWsA0KbEBBCp98vW8DiD7a CJHQHd/UMIuz+CD7Nt3ZNkES+SHHN9rsrfvSu9484K+tcLbu+Dyc2XD0tvIFta1dDxjf Agb7pz0a0ljrI3tCdyPiH6P66K4XocnoZ04qALbsbEIb66C7cqI9qTBD85xB8H2zXFlM 4GxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=GqJcIKOTXWr+ACAcSzipzQjp3DVLZSTVclFG9WVa5Gg=; b=ftBMXvE5DxUMuFLK33gyAS2GxbEgSaU0xu15NC8+Z3j7HRzeJl4obeP1eUvjxeCRrb VHqF+0eCkgV+ztHsCcZH08snB3r96JSW8P85AtRPS/T9NPz9ggtEjjgstnOL+LIvirbZ BT7ylgREM2jiBsu5ZCkgH/jD3Np5bS9gkjp00YQ0wxKvOGpS0hha2YsNyCsmjFxnGegA /Wu/SUsH5K3vnEjIUun19GIpS7E4OUb0DflVNOzpsMO2taQE6vdXpdX6PsBl1aEvgTrs cITjIMKz3CjCKtO1VPYvif8SNuvZ7wm56DyJ3Pd3B2qkdDtkvleArx9ln3ALOMwcvJZa 3gpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=uYVi+40a; 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 w2-v6si3054189plk.79.2018.05.16.09.57.48; Wed, 16 May 2018 09:58:03 -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=pass header.i=@kernel.org header.s=default header.b=uYVi+40a; 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 S1751033AbeEPQ5i (ORCPT + 99 others); Wed, 16 May 2018 12:57:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:45084 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750775AbeEPQ5h (ORCPT ); Wed, 16 May 2018 12:57:37 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0284F2075A; Wed, 16 May 2018 16:57:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1526489856; bh=dDkAMde3Ck1VDpKZUSBHeC/zEdXZkF5klJCdgNN7fyA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uYVi+40aehAcwCFJUpXSeBcgA94xwlCaVWowFrNC9rOXGyWiQdTuvIiwDLaD+5lZr eau6bOps9p2/3YfrAh1S6M199FIgzF+TAplCCTFoVU1i9WgJzEmVJr6lHQAznSLRxW 1rA+pkRTMfmoAgHA9fGno3C6Z55gEFHxk9z46BjQ= Date: Wed, 16 May 2018 18:57:19 +0200 From: Greg Kroah-Hartman To: James Simmons Cc: Dan Carpenter , devel@driverdev.osuosl.org, Andreas Dilger , NeilBrown , Linux Kernel Mailing List , Oleg Drokin , Jinshan Xiong , Lai Siyao , Lustre Development List Subject: Re: [PATCH 4/4] staging: lustre: obdclass: change object lookup to no wait mode Message-ID: <20180516165719.GA28434@kroah.com> References: <1525285308-15347-1-git-send-email-jsimmons@infradead.org> <1525285308-15347-5-git-send-email-jsimmons@infradead.org> <20180508114500.qrtnjax4siupgv3n@mwanda> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 15, 2018 at 04:02:55PM +0100, James Simmons wrote: > > > /* > > > * 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. If staging is hurting you, why is it in staging at all? Why not just drop it, go off and spend a few months to clean up all the issues in your own tree (with none of those pesky requirements of easy-to-review patches) and then submit a "clean" filesystem for inclusion in the "real" part of the kernel tree? It doesn't sound like anyone is actually using this code in the tree as-is, so why even keep it here? thanks, greg k-h