Received: by 2002:ab2:5c0e:0:b0:1ef:a325:1205 with SMTP id i14csp30408lqk; Wed, 13 Mar 2024 15:23:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXQHeXrimRg3DdjrppSHulofXdb3w46kpA49avXiVKQn6CWh8s1UUyYVTQRfd+5JVlOAMAA5zHojtxyifalSSBN5idiV45W11Gi7AxbdQ== X-Google-Smtp-Source: AGHT+IEjAn+ZrqL6oad/Sowllqy9L6r7mm4L205gkwxJcyrTJ4jaf3WKmL53Mwkb9DPrmGXxQK+v X-Received: by 2002:a05:6a00:1403:b0:6e6:47f6:eb30 with SMTP id l3-20020a056a00140300b006e647f6eb30mr56747pfu.22.1710368618994; Wed, 13 Mar 2024 15:23:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710368618; cv=pass; d=google.com; s=arc-20160816; b=d8Iv76mwLzZc0802vapbiJRR6Jc8s75IHE4sppQYYO6u9dsMHFKb71Hrx8V+RJFDKg yM8N+afJ6Jc92+GYoAYiZMPCaQmOfrOKoiRdK5Lq5UCs1ekL1BGZadxH7xVtZTz2OJIi BIZERIwBTvYUdBWuUhVaARC90QLnGHIQCNsegB27x/8tmDo59UWyPe/ShwHQqSVADHoY WRb1zVn/xL/agoiKQifah2Repfzpms8BzJVTA8+T73rq1PORP8yY0plGhqcGO6tRwBsl cf+vI1E5ed1g0FKsbAyMC3ilLqtGDchfOxZpPutQFFEQdrQUENu4Hrwj6sDWMNF6J775 UB6w== 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=ej/n2ekg+Kv/YAEOWW6eOfRdqaxPcS5Y8kZhD/22lus=; fh=SeWmbxeI3PX8TSWkp5ahJgmLVh9c7XoTXYYRkgln+TA=; b=tZyY9Z5J8O6dOaA+nQDd1P8aWRF7aSzHxv8cTwKXRY0ljK7AvApNMfeob0weItHtFD 14DUoeRcChf5dIlmOQkZGNd/9dht1+wEwbLTpsxRYHrcAo/4MtB8RpweVzuRyxDgX2fk Kbd6ypq/l1Qh8SZNoXh/j28Ux+yOgkx0ku2K/N3xwjhphO3J6sxGRwSNdwE0K8RZV7PL cZwiFuOFsRJfvYvYE/SnZTHY0SRReZp2Vi2nOhhz61ghPL9FpL2PhmLDdlJ7fSjAT8fj NxNRyJxO0Dip4nnof4p5p0/8Ci5GdqWb8+yNjkIfLSiaYFWrudpuf5PMrhm0D5o3ZCK8 B4UQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=JayZT0gC; 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-102586-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-102586-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 k22-20020a63d116000000b005d8e28279bcsi240018pgg.540.2024.03.13.15.23.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 15:23:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-102586-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=JayZT0gC; 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-102586-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-102586-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 A4B0E2869C0 for ; Wed, 13 Mar 2024 22:23:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A704D5A0F4; Wed, 13 Mar 2024 22:23:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="JayZT0gC" Received: from out-189.mta0.migadu.com (out-189.mta0.migadu.com [91.218.175.189]) (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 1B33459B53 for ; Wed, 13 Mar 2024 22:23:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.189 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710368604; cv=none; b=bHjQqwlh9coQ6/cxEsUdBuNm2cU4TkbKvQnN1e3WHwNkvtUUXFeF2mwlhHBVF70g1DCF3K8Vy06AyzUcXXEeCzH2qdSUOcxL80N/+y9NmWcw04GIOm1+aJn0fc0yEcugkrBE2Y6YXDAZE6YJ0LFKPJ/TyDzHCz3bIolXkjLFm8o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710368604; c=relaxed/simple; bh=PZG5cRX3qQhXu4dXkIQZpq03uK2kDc7kp9VzX1tWb98=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KkINoFfZM5IGMunAB4vTc7oA/YvcHIR+7Fjjav18bi1Oqv6K7ydG1T00Q2Yv/I/blj2PlXttbQzRpfb2GSSDfNn8jOw7e7ugxgDNOZQJUkG4FKkAB30prDqnw9nBp9ZRy0Br2nHWSS9+ppjlXaGOEXASweVlcVDdnu86TIYjN9U= 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=JayZT0gC; arc=none smtp.client-ip=91.218.175.189 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:22:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1710368601; 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=ej/n2ekg+Kv/YAEOWW6eOfRdqaxPcS5Y8kZhD/22lus=; b=JayZT0gC61yuifMb6XpSXr3kHmjBmtpxNh0YLWPfhTIVudGk1ES92eYWfgu2kqyZ15EIb3 EA0X6S1hTc3d7HPW+bJ+OBL3aNg8bnQl8zFBBCKWo92za96DrCcnOCZbikOZFPu0aHNMh5 t501lEbDbQ08wq3lZC6Pt0KynKZgtGI= 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: 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 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.