Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp85733rdb; Thu, 1 Feb 2024 02:56:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IHmUtPWfhvyoohbzFLDPMr5yOqbwKZlI0gs2YVpDBhECm6bh267Qosia2FVSqxPJjfvHAEI X-Received: by 2002:a17:906:289b:b0:a35:6667:b3ec with SMTP id o27-20020a170906289b00b00a356667b3ecmr3296841ejd.73.1706785017006; Thu, 01 Feb 2024 02:56:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706785016; cv=pass; d=google.com; s=arc-20160816; b=BWjOUonPeCqNkH1u/YlDrh9xrvEOz3MK1AS+GV4R2mzrAkSObOvZ56rqLQT840qiSu xtRcd2FnTJEPU+c4Fj1mESf/RIiK79TMCV+jIjVmJVEug2DaJGYOO8fbjECb0+Sg7n+o ScCU89pxT8IA9hhY/UzP0vhosyiOFfvneF7MKCTfdEfrHKzq+0YLAuIPUv4+uDmLTtsF 2/Ea+ehCVXMjMApVSvKdQzh3j2KNshV+jYAHCwllNSjG2iHBHlWt/m0DAvjCo+Fw2n41 g0P2ca3Jw9z7cyVDlr7/YM1UCHYhIL7FN8gPiQ0GbO1RRq2EqtZ00ohvp45MY8iWpHCb ciOQ== 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:date:dkim-signature; bh=ARRYNneIEyXEDaxYz6fwEt7fJdvAk9Doy/74t5Afyos=; fh=Rb3JHptvTFuWIqxaHftg9WvBF64gPzzgmxmVT0b7oIM=; b=qX1QUR0qCTXm8mmWfLyOsyn8W03OScwXu+y4Qfns7z4hsf++FWcf/eII5iQcJROQqz qkmbpTDINvcQCKdWsCeTqXyVRd5efQglEZPzkhHXnc7ISGkUQ7BaF+pg37qMtbURby+P jzuK30dRK5CS7R6T0kcoOoCV6sPYWtpwACzS0AKVOlpLX6vjI2iGsXS9XuUUEn1nNIFb YGD7ysT+ertctyp1d+cVss6US4cUba0zbtP+Cq3X5ssYn7DCPR1AsyVmQfiAYVZT2gh0 2/0ZMulsIaC19JQT2eHxzd5nuVP18IrKMvGEVXhsAnSNisSdXJ7g3ibYgNNs9nJxdelw OreQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=MROG4QYT; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-47622-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47622-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCXE7qacbdMRFAqvlSy8qriEgL3jItCokksmZscV9GAPFSVhFQvpCqut7ERGpLrksQybb49VMTU4/etmijKgz2ufAJ4JRgP0TPhsvZyFrg== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id g16-20020a1709067c5000b00a35a0186b26si4185873ejp.706.2024.02.01.02.56.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 02:56:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-47622-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=MROG4QYT; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-47622-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47622-linux.lists.archive=gmail.com@vger.kernel.org" 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 am.mirrors.kernel.org (Postfix) with ESMTPS id C4A2E1F24488 for ; Thu, 1 Feb 2024 04:38:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 80A1A3BB46; Thu, 1 Feb 2024 04:37:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="MROG4QYT" Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (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 5F57C1E49E; Thu, 1 Feb 2024 04:37:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.50.34 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706762273; cv=none; b=W+tyZWc7GV9oDH79BapE/Y/RiNq6hUHlGpFL990p7JKjx7s4sZmDQCqD4fB/EUObviSmCTRGak77W6rvwuRl4Syi0fXAEKYwlFoogjXaV0GRM93Ur6S+lMqZiaIvbbowOPaKCKt/uNWAQzsBZjpFGeIToNnLm/oKyx1gRWOpOVA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706762273; c=relaxed/simple; bh=ARRYNneIEyXEDaxYz6fwEt7fJdvAk9Doy/74t5Afyos=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=IbMqZESXCcu6wkTI4iEoQGU0z3tk7wDyfchaqizUWkwg0Fc0I2nGcICTmbe1idQ2kWnS5XFYKYbrEPKkgCkwyZrgEiUvojzCYhXL8AV7poiXMYjTAWiYq3WatniZ2waQPn8Mo3gtv3jP2ZJtkXWdgfetxn75i94Gr+3pdjMioLI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=MROG4QYT; arc=none smtp.client-ip=90.155.50.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=ARRYNneIEyXEDaxYz6fwEt7fJdvAk9Doy/74t5Afyos=; b=MROG4QYTNG5JZFB8NEnuVPeI8Z TNtyPTdK9S7Vr8CYnd88Mg7jPKXLciOp7l0RuZIfOwEqVRofZBfPZKwEzLMm92AMP1ankMW3F7Hqz SBmAULRZXzU61nFgfZWuqhavU2NZJ/C7hRvsF6X0bLP7BHeuQ2s3KOjArU7bPcjrSdKzAzrwhelAM JDzLU2nxPK3vt+/kmhwR+AcdWMVfXN0LnWscd9tTfmJPsB1lsv/9MoS6pyAbUUdEahZIgGzFtBHVZ +QhYPxUSddEuZmYAlo+/nTuwFsjvNyOTmPmyeBzyaWLFewDR4tx5y0sKVcinRTDNuBiLZ6+wGSErB bG8+3lww==; Received: from willy by casper.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVOpV-0000000ErgJ-30iy; Thu, 01 Feb 2024 04:37:37 +0000 Date: Thu, 1 Feb 2024 04:37:37 +0000 From: Matthew Wilcox To: Zhaoyang Huang Cc: "zhaoyang.huang" , Andrew Morton , Jens Axboe , Yu Zhao , Damien Le Moal , Niklas Cassel , "Martin K . Petersen" , Hannes Reinecke , Linus Walleij , linux-mm@kvack.org, linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, steve.kang@unisoc.com Subject: Re: [PATCHv6 1/1] block: introduce content activity based ioprio Message-ID: References: <20240131105912.3849767-1-zhaoyang.huang@unisoc.com> 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: On Thu, Feb 01, 2024 at 12:05:23PM +0800, Zhaoyang Huang wrote: > OR could I restrict the change by judging bio_op as below bio_set_active_prio() like I said last time you posted a patch set.