From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTP id 30F9F96D for ; Fri, 16 May 2014 18:31:50 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id CBBEB201E1 for ; Fri, 16 May 2014 18:31:49 +0000 (UTC) Message-ID: <5376598A.4050407@infradead.org> Date: Fri, 16 May 2014 11:31:38 -0700 From: Randy Dunlap MIME-Version: 1.0 To: Chris Mason , NeilBrown , Dan Williams References: <20140516125611.06633446@notabene.brown> <537628ED.1020208@fb.com> In-Reply-To: <537628ED.1020208@fb.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Dan J Williams , ksummit-discuss@lists.linuxfoundation.org Subject: Re: [Ksummit-discuss] [CORE TOPIC] [nomination] Move Fast and Oops Things List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 05/16/2014 08:04 AM, Chris Mason wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 05/15/2014 10:56 PM, NeilBrown wrote: >> On Thu, 15 May 2014 16:13:58 -0700 Dan Williams >> wrote: >> >>> What would it take and would we even consider moving 2x faster >>> than we are now? >> >> Hi Dan, you seem to be suggesting that there is some limit other >> than "competent engineering time" which is slowing Linux "progress" >> down. >> >> Are you really suggesting that? What might these other limits be? >> >> Certainly there are limits to minimum gap between conceptualisation >> and release (at least one release cycle), but is there really a >> limit to the parallelism that can be achieved? > > I haven't compared the FB commit rates with the kernel, but I'll > pretend Dan's basic thesis is right and talk about which parts of the > facebook model may move faster than the kernel. Thanks for the summary. > The facebook is pretty similar to the way the kernel works. The merge > window lasts a few days and the major releases are every week, but > overall it isn't too far away. > > The biggest difference is that we have a centralized tool for > reviewing the patches, and once it has been reviewed by a specific > number of people, you push it in. > > The patch submission tool runs the patch through lint and various > static analysis to make sure it follows proper coding style and > doesn't include patterns of known bugs. This cuts down on the review > work because the silly coding style mistakes are gone before it gets > to the tool. Yes, this is very nice. Reviewers should not be burdened with checking coding style or common issues or build problems or kconfig problems. They should just be able to review the merits and correctness of the patch. (Yes, that would mean that I would find something different to do on most days. :) > When you put in a patch, you have to put in reviewers, and they get a > little notification that your patch needs review. Once the reviewers > are happy, you push the patch in. > > The biggest difference: there are no maintainers. If I want to go > change the calendar tool to fix a bug, I patch it, get someone else to > sign off and push. > > All of which is my way of saying the maintainers (me included) are the > biggest bottleneck. There are a lot of reasons I think the maintainer I have to agree (me included). > model fits the kernel better, but at least for btrfs I'm trying to > speed up the patch review process and use patchwork more effectively. > > Facebook controls risk with new features using gatekeepers in the > code. That way we can beta test larger changes against an expanding > group of unsuspecting people without turning it on for everyone at once. > > It's also much easier to accept risk when you have complete control > over deployment. facebook.com rolls out twice a day, which is > basically a stable tree cherry-picked from tip, and there are plenty > of chances to fix problems. > > Anrdoid/iphone releases can't be controlled the same way, and so they > have longer testing periods. -- ~Randy