Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DD0F6C433EF for ; Tue, 15 Mar 2022 15:44:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244542AbiCOPqJ (ORCPT ); Tue, 15 Mar 2022 11:46:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237275AbiCOPqI (ORCPT ); Tue, 15 Mar 2022 11:46:08 -0400 Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 568F213CD6 for ; Tue, 15 Mar 2022 08:44:56 -0700 (PDT) Received: by mail-il1-x12c.google.com with SMTP id j29so13578991ila.4 for ; Tue, 15 Mar 2022 08:44:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20210112.gappssmtp.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=kU+GLJEFYIiN6NGm+q/bq337K/F3drtFqv3LO1H4fKE=; b=gT6Y1bbmKjfoWVGM6TuXc6Ew3txTgEY9NUokJyBPFxsps4dxNt108edzQMlliVyula oSIaGoB2zOd7tJBXXETitXby9wwwghsCALOxo9SclxNe/c2zLW2xT7DuzfGcx2oj1B+d xUaer0hBghpARihJCQG30tsZLNXZpVr0PU0tzOsBSY4KT6vt2STQAbQ4ZmCFXva3rwtk 8q7qLksIoMvpIw/WA2Kbc2QvQ2NIV4aADl5cST4HOY2frRlQWn1fH23PbDGkRljqI9NN isLqrW4T0Ot7sJZElLaOFWkBsmvrMFUQ21PRhs8farpcJiB9D4vvpUd0tvp1DFjMtJWo 41wQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=kU+GLJEFYIiN6NGm+q/bq337K/F3drtFqv3LO1H4fKE=; b=OTfVXNaLJi/sin4FcDnEMru3lqweSqRgM+rSkfmoiHUwspXZYoT+qiOI9cndWQ5dZ2 WZ++azlUD4wnpXYhK56cbjJ5meSOku+JGEhbAI+6Og7CEMuBZ2Abcxj1VgHHyjnDnK2V nt3WnrYyI1ew6HN335QYfS7ybFpOIYybT3Zjl/P0H6ksamCJJk1dwDZHuQDa7ylOVvM0 qnV9G8dFJCVAqn29gPnfoZCz3ucrpdiTGO3Jw47wgEZVtXKJ8d3yyDXTu+LAMqNCN2vz p87kIcIQ4B2p4MpTjXR5oLupN/Y2HnKf9A3fD8uQEWyYUYkMtv0quVQhwhe8J5IFeRie Ecng== X-Gm-Message-State: AOAM530VgZQ0uZcWPXAeCOxSIiqzJYvpuSYIeBvt4C1Lsha+WiJqPEtl zyczxEBGFBcXXqznClJZac9unQ== X-Google-Smtp-Source: ABdhPJyych0DqX/cH/hqdWSDTCrkBK3odSgH+RTperxlzi4UKTip9ytPQ9AbkvcaBJmp6mZx9NU3nA== X-Received: by 2002:a92:ca45:0:b0:2c7:c473:6785 with SMTP id q5-20020a92ca45000000b002c7c4736785mr800177ilo.40.1647359095651; Tue, 15 Mar 2022 08:44:55 -0700 (PDT) Received: from [192.168.1.172] ([207.135.234.126]) by smtp.gmail.com with ESMTPSA id s10-20020a6b740a000000b006413d13477dsm10427409iog.33.2022.03.15.08.44.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 15 Mar 2022 08:44:55 -0700 (PDT) Message-ID: <95588225-b2af-72b6-2feb-811a3b346f9f@kernel.dk> Date: Tue, 15 Mar 2022 09:44:52 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:91.0) Gecko/20100101 Thunderbird/91.6.2 Subject: Re: [EXT] Re: [PATCH 2/2] block: remove the per-bio/request write hint. Content-Language: en-US To: "Luca Porzio (lporzio)" , Avi Shchislowski , Bart Van Assche , "Bean Huo (beanhuo)" , Manjong Lee , "david@fromorbit.com" Cc: "hch@lst.de" , "kbusch@kernel.org" , "linux-block@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" , "linux-nvme@lists.infradead.org" , "linux-raid@vger.kernel.org" , "sagi@grimberg.me" , "song@kernel.org" , "seunghwan.hyun@samsung.com" , "sookwan7.kim@samsung.com" , "nanich.lee@samsung.com" , "woosung2.lee@samsung.com" , "yt0928.kim@samsung.com" , "junho89.kim@samsung.com" , "jisoo2146.oh@samsung.com" , Jaegeuk Kim References: <20220306231727.GP3927073@dread.disaster.area> <20220309133119.6915-1-mj0123.lee@samsung.com> <800fa121-5da2-e4c0-d756-991f007f0ad4@kernel.dk> <0c40073d-3920-8835-fc50-b17d4da099f0@kernel.dk> From: Jens Axboe In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-raid@vger.kernel.org On 3/15/22 9:36 AM, Luca Porzio (lporzio) wrote: >> >> This isn't some setup to solicit votes on who supports what. If the code isn't >> upstream, it by definition doesn't exist to the kernel. No amount of "we're >> also interested in this" changes that. >> >> What I wrote earlier still applies - whoever is interested in supporting lifetime >> hints should submit that code upstream. The existing patchset to clean this >> up doesn't change that process AT ALL. As mentioned, the only difference is >> what the baseline looks like in terms of what the patchset is based on. >> > > Jens, > > Actually we might work to issue a patch and revert the patch plus add > the code that Bean and Bart mentioned which is currently Android only. > The reason it has not been done before is because for now it's not > production yet but it may soon be that case. > > Would this patch revert be an option and accepted as a closure for > this discussion? What patch revert? It's not clear to me which patch you're talking about here. If you're talking about the "remove the per-bio/request write hint" patch, then no, that's certainly not being reverted. See previous replies I made and also below for why, and let's please stop beating this dead horse. > Another option (which I actually prefer), if I ask for a MM & Storage > BoF discussion on storage hints where I can show you the status of > temperature management and my studies on how this is beneficial for > storage devices. As long as it's accompanied by code that implements it, then that would be fine. > Would this be more beneficial and maybe get some wider consensus on > the write hints? > > After that consensus reverting (or agreeing on a new approach) will be > easier. As I've said multiple times, whenever code is available, it'll be reviewed and discussed. I don't like to discuss hypotheticals as too many times in the past there's a promise made and expectations built only for nothing to materialize. As it stands, the only in-kernel user of the hints is gone, and that means that the support code is being removed. We NEVER keep code in the kernel that doesn't have a user, as it can't get tested. Submit your patches when they are ready, it really has no bearing on the currently queued up changes to write hints. -- Jens Axboe