Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1934724rdb; Wed, 31 Jan 2024 13:52:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IHozLoo+idoxJsOH/h/EeYOR6w+bDkJuf/0Ftn/oDnRHn/cHuPaZCAjqlmfvUDW0S9FW0AP X-Received: by 2002:a17:90a:f3ca:b0:296:b87:d0a4 with SMTP id ha10-20020a17090af3ca00b002960b87d0a4mr552706pjb.12.1706737959193; Wed, 31 Jan 2024 13:52:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706737959; cv=pass; d=google.com; s=arc-20160816; b=eDmeB7V8/KbsaKFS8nQXaqnXlJjDVYVEbvxhHhmSibYUzO6dqwwpQ21YjrSk6Tkr7D Trp6SjrWHr8u7HihGCjiYu0xFPDIgHlFm2nbA+axGl4kGsME+8ccV1HzadjIYBjL824v VEYTZqPjNxweoSJ8TsESP4YkUSYBL7ONWoim65GhOzJcGIYl1fNodQCZlD4UddcAYDLb p0d8TfOnizZgDEl4AlqbprRsa1uapY5OmA/G2wdvO97ab+CfZFNOylVswbNJvOoxvbUo RQQM/CFORszicyzVy1jfJCbfu0sEYjtplOR9fg/FP91zGcwzV3k1/MTDYJA9sdlPV4V7 L56A== 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=EHA+jUqUbNzf5uT+1UDGDC5e+7VYrb44W22h6Huqt1s=; fh=PtPlrDevoi9uiA/3DMa449e8/d2Op3vSDju3E8wbMPE=; b=lcLxenEzdqHFuPQXExG7ughsdqnxNSl3G0oHUQQLtqMecoJnH0ZoOjMmbRYuSmfLco jriCuObZPpOJfkjmGmAZV9GjTEA4MUF075hOYH7M5IZyGvKXXUmmIXaPfJoUYcFCwaey 5O00C4uBTSPcuIZ0J9R1Jz14cmEUbt0tpU+FD+sY7lkK9zjc09akUDR8lzDNCCD73iLl Wos2ZxBrKXmuUj22+5mdltZype/kLx/Tk9tfdHlmReKBsPP5qsY21jJh1yFxL5VQwuzC x6w4zCjHLqQQRksSVm231xd58Mpjo+wEpK3/akuMCVr3DHQj1KK0j/dSx3XhMKzpmGlw ZjxQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=XGNnZ0by; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-46486-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46486-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCWSQX2gsF2C4hiheXo/PZ/AXawKApKy8mfPDd6wCnhfkUrgKw64xqwGQxj9lwVvHJyevSKztkmdRLNePneH+MfqApcytp2b7IvuvZh3sA== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id fs13-20020a17090af28d00b00296066e5f58si618178pjb.67.2024.01.31.13.52.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Jan 2024 13:52:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-46486-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=XGNnZ0by; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-46486-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-46486-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id DC709288572 for ; Wed, 31 Jan 2024 13:23:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4A8057BB0E; Wed, 31 Jan 2024 13:23:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="XGNnZ0by" 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 B44B31E522; Wed, 31 Jan 2024 13:23:04 +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=1706707386; cv=none; b=PyqlaCU/L6ZqYVsaDCsXXxu7xEtoOAiz7Yzz0R3PRirCqglBO3cTDRb5HukEmdME/ZRQjEcp+B17eMrh7YHX8dNdDwTFOpbHrtknFgdcoW1jMp9BeI7iElqg/mhGbhoX5fj+NHDIiBnpwVPfsrwQu9ipo9L04bnSNem/FxTEWBQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706707386; c=relaxed/simple; bh=YQht/u0phIhzG4JyAB0wIm3E7hLpF4h34ToDD8I5L7A=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=E4niH8aO1Jqt2G6f3ASr0IGL/iFVSf4Yb5UHuyZnpxzf7mcS1STJfjHHfOMF+6GYocXLpqh9n0w2YSGSXiiIYvelR4Sjs3wPBY+qPRXLCMdKS3q3SvXpEONoVHy4xyWVRbMtAXZoIc1zfjsu9Px2ipz35rT5XSM4Cq9yXNOcEbA= 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=XGNnZ0by; 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=EHA+jUqUbNzf5uT+1UDGDC5e+7VYrb44W22h6Huqt1s=; b=XGNnZ0byfBPCCe1GoUPgxoHT9U +NnzNks6SJI4h+TraDzrF6ox4yJKrRwwEoeNLJ78bXrRb6/OhjXWwNIb7WcW8x4KCntx9ItSVXOYO VHOoeYRHGT/IFVUWYT37eEiDVtod9+5AFx4s/6BZIN6lW1XC7MFs0SCu8LALWUeDITQPHNyLV23iM ZjsR7pU9/kZpOop8Lyd66uvF2klKOK+1USXJ29s+EXBSEhAfU5JKF+GUCr4kuzl8Fk5SdiUUGP0VB 9i7jqjZ/zOqvz7pUCkQ0vrJtL8HWS6gfbovWRHD62gjjjJ2kleBFTGa+uHcs2liPXVmeXFtlyQDwe UOhvRcxQ==; Received: from willy by casper.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVAYD-0000000ClG2-3Fv0; Wed, 31 Jan 2024 13:22:49 +0000 Date: Wed, 31 Jan 2024 13:22:49 +0000 From: Matthew Wilcox To: "zhaoyang.huang" Cc: 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, Zhaoyang Huang , 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: <20240131105912.3849767-1-zhaoyang.huang@unisoc.com> On Wed, Jan 31, 2024 at 06:59:12PM +0800, zhaoyang.huang wrote: > change of v6: replace the macro of bio_add_xxx by submit_bio which > iterating the bio_vec before launching bio to block layer Still wrong.