Received: by 2002:ab2:5c0e:0:b0:1ef:a325:1205 with SMTP id i14csp32303lqk; Wed, 13 Mar 2024 15:28:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUh3FcoZvqn0LGAITAaSKAhpiMVCuSrsNNF5HYG/B0wjNbD8/rsSJwMKy3Fijx4lABR/VDiIIZWlPBf75URfF4uBLVEVUPu0YPekyyDXw== X-Google-Smtp-Source: AGHT+IE/W41iXCpNZrgnXRFc54kqKzLnH44NH63PFfkpGh7+nwZeZ4YL7yFlhTqotH0thyKdhHc3 X-Received: by 2002:a05:6a00:929c:b0:6e6:2dc9:dcbc with SMTP id jw28-20020a056a00929c00b006e62dc9dcbcmr5594959pfb.10.1710368926531; Wed, 13 Mar 2024 15:28:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710368926; cv=pass; d=google.com; s=arc-20160816; b=Yj0HOivpaKQ4mssfzMSJjCoGWyiK4XIKOfC9IVE2T7/QfgpMPmKH4/hnZID/8sNhcs c+MKhrMRETRQ1HHJvOCPe0dPJ14lvv7V+RM9oR+8OptDqmw3LlhGGB4mEm4txNIvTqpl YGXnkmh+JxhvEpvXW8Dj/aRnSXRZn7Bo+t37PBSVzSiMl0uC4rREVJrIsFk1n725A4Gb imCvYdt7hc8gD2aDKLe5dJOiFV0b6FBWYFbGZoqr1BTM0g2CxP2mIOLHoqp16ugI3KHF 6T2aCsp8seUWa0jSJ/ne3Ik3P7n+D10898gBT5spO2rDY2bLCEMgaYwR2h5pGLnXCY9C 01vw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:dkim-signature:date; bh=yxehdtefXWXpoBrqnT3MjFzIdHUAXNZvJXs5oHqM2bk=; fh=SeWmbxeI3PX8TSWkp5ahJgmLVh9c7XoTXYYRkgln+TA=; b=OS2tdcSgBzu57yGf46mGRazBLMvxZd4FB8D/3asOf7QFNmRIswv6PdGLz7NVGMVdeg L/fYzKD2AJ3ffeuCktGeHgr6+0S5edAKhohXXdH9kWuJMpTQgEjCkF8/smDWBjmrSXoB ecmcgRmi56PM5Tm0b/DGKkySGpfA0Z7FievYnyeEtvKhjj5U+P8CX33zrAGCHd/hR4Hx tbJkd3jsE5bqCTvY3qAM5BSFMXA60rukkNOxyn8uGS7TdUxvJiUU46gqGq48GmMxidql /k2/5ivtktSI8MF6c0llUiiB/Eqr6Mk0y2FjiUNiwkws7JOlrr88wi2tbWCDOMIVvCR9 sNWA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=h1vicywa; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-102592-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-102592-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id o8-20020a056a001b4800b006e6a4501674si203872pfv.146.2024.03.13.15.28.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 15:28:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-102592-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=h1vicywa; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-102592-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-102592-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 39E012844D8 for ; Wed, 13 Mar 2024 22:28:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2AF5C59B73; Wed, 13 Mar 2024 22:28:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="h1vicywa" Received: from out-185.mta0.migadu.com (out-185.mta0.migadu.com [91.218.175.185]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B3F885490C for ; Wed, 13 Mar 2024 22:28:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.185 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710368918; cv=none; b=rGfp+IhPPA5FrYtlDZyzvm1ApmlHseD30BBRsogqbyD6BnahiMUM7TFFJF8DCeybhwMss+rJ39BefN2EuG8zzEkjFn+Jvhy91Xxof4b3yrnh225p0oWWVB7LQnf8oLZGrfwSiF0G/fWqaVMsdCc/4CrqcVsxOxNohXy9OghvEqg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710368918; c=relaxed/simple; bh=6go02WlJtTue778mcLSmWnZN+B1PNTU48wUP/tuJq0g=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=XY/CgFjIHVOA2mqj0jZ7hp1pqBfjBO00majHO1kiZRjOx78WOW3rVSUx0gFEQxD05VfcmXnFReUMD4hebZfTXxEszdW+6X5iJGbjdrA/0KAQ7i7BoCyh++wiqK5epxBhdJX+BIc/H0YnlRTrNzuThYXaSD7G9s1+jY26sKP7d74= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=h1vicywa; arc=none smtp.client-ip=91.218.175.185 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Date: Wed, 13 Mar 2024 18:28:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1710368915; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=yxehdtefXWXpoBrqnT3MjFzIdHUAXNZvJXs5oHqM2bk=; b=h1vicywahpKGXi9bcfgdtjH8MDr4zY9mei3QxjN7YaA6p/oodIYmI1XpZVOSMHVf2fJ1hf ct2zEd3nlYcQ5PuUTrQGbZOrBuU68HDWpAumn70TqIhE8S707fJZaY5l332PVmb+Uqebhk XfGwT5rWx6ej5GpglYfvcYJKCbAvpKY= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Kent Overstreet To: Linus Torvalds Cc: "Darrick J. Wong" , linux-bcachefs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [GIT PULL] bcachefs updates for 6.9 Message-ID: <4q5fetc7qwunhhvieuiubk3g3guc4mr4a5wfmn5u4ox6kyo4p7@olyanpabfvav> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Migadu-Flow: FLOW_OUT On Wed, Mar 13, 2024 at 06:22:57PM -0400, Kent Overstreet wrote: > On Wed, Mar 13, 2024 at 02:51:38PM -0700, Linus Torvalds wrote: > > On Wed, 13 Mar 2024 at 14:34, Kent Overstreet wrote: > > > > > > I liked your MAD suggestion, but the catch was that we need an > > > exponentially weighted version, > > > > The code for the weighted version literally doesn't change. > > Well, no, and there's another problem I can't believe I missed until > now. MAD is defined as median of the absolute deviations, not mean, and > you can't compute a median incrementally. > > So MAD doesn't work here at all. Sorry, you were talking about mean absolute deviation; that does work here.