Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2198961pxb; Fri, 25 Mar 2022 12:53:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQN0cXQKNTl5KEBAcamVWIcvpa2huwIDK5snPTnH2C0I8PUHU46L3ze++DAjmQAiDtwF1y X-Received: by 2002:a17:902:e2d1:b0:155:cb6a:7c92 with SMTP id l17-20020a170902e2d100b00155cb6a7c92mr8073842plc.39.1648238029288; Fri, 25 Mar 2022 12:53:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648238029; cv=none; d=google.com; s=arc-20160816; b=WZI4QykouOhpUiu7c6Mz7Ang/pgLkQVE06ryU/sn/CeCIKikDepXsP+Gq0BKXZPuXy BiqkNhvn97bT96gWGcSSGpf0CgYskHHc94PkNDUWFENOrgSeL+dmD1p4SlCW3SThzeEG 03HfpChT5xLw+4BcCIsURfdq2AqghcD+Vm+4C10AwNiPt6oVk8JL3pZGi5llnjnjmzhY 9BBWsCaZvfLdPF0lEUimP1ORfnqg3y3T8VCEgb5IK//jH/LFqlTvVZNOa8V4ucmCnX2B 6HDaIZo9bODUIo0vfvZ3uqcM/QKrAwigjAj3Tv4MT96c4st6XUzep2TYqUk9IMULdXsR MMWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=iS0yrgXdzCc5O9c0UO6QbVnz4W5jPqnMFFb4jpEep+8=; b=h1wOdfXyzeix8/Vvj9cIAbFj4XT3nTCVRVwp0hW/bONQ1NZUUTkUmUGj24LqqRwRmI VadBI0TlePBg8Ie/E+W5udP5KTeNIISp3VkQNY3oI7r2iihj1KEOor77JmNv8p3iUD9X 7xISMujjuE3Sr9cBwKGCBF+ePvwkrCiNbODRlTaO8rX0tzclYJZ0OzVg48Ad+W8FvQNh uV8s+4k7Z3pGIxrqXFW/h2WRoeKr+OHFRKBR1vUGkWLSG5gcDZKk0Fl2zQDr57Z+jhoX lRxZ4dfCZ5f00ULxSQOL4SeLuorNTWHjAc3LvA96K5E4nBW2gFskBxpyriyvOwGqeQbN pIjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Kp0Ve9OH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id lb9-20020a17090b4a4900b001c7ba889590si6243108pjb.2.2022.03.25.12.53.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Mar 2022 12:53:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Kp0Ve9OH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 332EE2DF3DB; Fri, 25 Mar 2022 11:42:50 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245554AbiCWQuE (ORCPT + 99 others); Wed, 23 Mar 2022 12:50:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245566AbiCWQt7 (ORCPT ); Wed, 23 Mar 2022 12:49:59 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66A80BE27 for ; Wed, 23 Mar 2022 09:48:21 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id A8BFBB81F67 for ; Wed, 23 Mar 2022 16:48:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 312B9C340E8; Wed, 23 Mar 2022 16:48:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1648054099; bh=KZysVJrReQA7i1Z1nRSDq4ryI+V0LIK35Q/WCAy5knM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Kp0Ve9OH3/g0gQycRRJwUAl727z9uGUeetTB8IEQo4X9sqVNZ3Q2cZswd8Ncp9YFs l0lIZJoQGYohEDJjw2V7mkP65cBS/azJzO9PXy+q0YaCzY+Sp6xRBVHArVASk6PDqa R24FtNd2pjlMiUWtVeX/adzRoPj/xJqWx6KWT15EMq2UiTI5Dg6kaX2t0GpRvXbgC1 0A7suf+GxwDWZKyioMW7Vwl4QxmE3VcoHG0DCpkKmF+9KxWCl9F7//FlOr0RPO6KDH wqdoJuz0Tnm5Gm0leMonwMHRwv8niqJrlvjRnm4fHR4ZxTgVQhMP6d/y0VBd9DCuuF En/iOcQ7w/yNA== Date: Wed, 23 Mar 2022 09:48:17 -0700 From: Jaegeuk Kim To: Christoph Hellwig Cc: Linus Torvalds , Waiman Long , Linux Kernel Mailing List , Linux F2FS Dev Mailing List , Peter Zijlstra Subject: Re: [GIT PULL] f2fs for 5.18 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/23, Christoph Hellwig wrote: > On Tue, Mar 22, 2022 at 10:22:50AM -0700, Linus Torvalds wrote: > > On Mon, Mar 21, 2022 at 1:39 PM Jaegeuk Kim wrote: > > > > > > In this cycle, f2fs has some performance improvements for Android workloads such > > > as using read-unfair rwsems [...] > > > > I've pulled this, but that read-unfair rwsem code looks incredibly > > dodgy. Doing your own locking is always a bad sign, and it ahs > > traditionally come back to bite us pretty much every time. At least it > > uses real lock primitives, just in a really odd way. > > FYI, Peter and I both pointed this out when the patches were posted > and NAKed the patch, but the feedback was ignored. Christoph, I proposed, "I've been waiting for a generic solution as suggested here. Until then, I'd like to keep this in f2fs *only* in order to ship the fix in products. Once there's a right fix, let me drop or revise this patch again." https://lore.kernel.org/linux-f2fs-devel/YhZzV11+BlgI1PBd@google.com/