From nobody Mon Oct 6 01:24:24 2025 Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 77907221554 for ; Sun, 27 Jul 2025 17:40:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753638011; cv=none; b=D0+DBvAafxzobyh64m0WCzEQlJjBzyCAfsU+wC2gr2jnsr6MMgxcaT3y00aF5mK1+z0fkK7jBeUgy4WiTmC61RFROoZu/TUrc9rRl0ybH45F8HkJkmdU7iKSarg/PCfgcUFP7N3X6r2EZKCMHO5nOrr01RtTyI1O33jkBvatxOw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753638011; c=relaxed/simple; bh=KNhhtUFnmbc3jeA4XTRDlg8RlDWWWyXCaaLU5CW08J0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=CV+6IGxv4/7NYbSoa4H9LxL7dT+MlFD+J6XvSajrixDCm7CyyOMul271XyMtl27Hp2nngFQ1XcAYv7ZUbL8+VDPivORkqWRuAmiVnmCcgRx6vHj1HKED/ouv03Vby+JywfNXEP8XXRI8Zaf9mAXVFjqsGngQ8GXWkmV+uzIoesA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=shopee.com; spf=pass smtp.mailfrom=shopee.com; dkim=pass (2048-bit key) header.d=shopee.com header.i=@shopee.com header.b=HBXIkVOL; arc=none smtp.client-ip=209.85.216.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=shopee.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=shopee.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=shopee.com header.i=@shopee.com header.b="HBXIkVOL" Received: by mail-pj1-f54.google.com with SMTP id 98e67ed59e1d1-31eb75f4ce1so622405a91.3 for ; Sun, 27 Jul 2025 10:40:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shopee.com; s=shopee.com; t=1753638009; x=1754242809; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=RMN9tLLmpGB9BsvzAxacdUhrheIgM1fafrpYT+r6ug8=; b=HBXIkVOLtjtUpwXBmOYKmzEUHcoli01CSIyV9R6oh2CtyQ46idGKHOrajLn1NqAO7S Awxnr0zVpDGH8cihWpqzAQ5g+DT00d8EkKem3PlS2pxd+wsDfrL2N5a0KXfeRYjZw7om cE5nlPvWKv5CIKopKYBkspe6O//12l7m2UPQ60sFQVLNrNpEaRfJIyICs7ht0K8sN1E4 inbyucLKw3hoPt8cEJ1L8gkERVD/d+u0nNRMX1OLggBIe4p95pFcvu1d+NZzbmDV82CG 9V6eIkQ2AksVU/nT0AmzyWg2YqHREfQBja+yBdfosfMJYqEZIMH7acKnA6zzYt7rSGbz rR6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753638009; x=1754242809; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RMN9tLLmpGB9BsvzAxacdUhrheIgM1fafrpYT+r6ug8=; b=lKFG9lopCVGVdYwxi6E5EsgGf2y1xY9e6+vos5zmGeTfIPAHMnq+t7jF8MhyA0D51u FtsKuLUUq5JhXJVZfvNp7LCS/vP8XX8/UTfdyelIi/H872r3dzdIRR90SCKn0Bnto75n vahHCnVlAIsbtYELVv8luOUBVeSAYxiTxgvsnGWQF1UBt6sz4LpBii8+QwGS+aFFcO7u dj371ggcZatxfsZq0COL3tTSMTkrPht/T0Xj30GSzxD73vE/GPo6/iYXbsTE9qpYDVma OnKv/IKaZhcCjhx4VTkJ1dCMJnC9l6R9o6f3DHnzmnZYer2AUwNSPgI0g0vqYU9ykShO 5Mkw== X-Forwarded-Encrypted: i=1; AJvYcCW9mhWP4DV4zW1s8PeGrUykk2r6fXwK+vgGSzX7S7ktYDSV7+fVDcz5KvcOqVEKr3f1awSDQE+mmOfdHO0=@vger.kernel.org X-Gm-Message-State: AOJu0Yza+bf59/jvdRXBAhyjz/suU8wgBZ9ACfVVgx+PAKy4YoQMACKx fCWbKjF69dYO50iKGuDi6NmGueh34OOCXBjw3bzLj0K0AOQ3i4UQ8uJE+4pcMHMe4po= X-Gm-Gg: ASbGncuBLTSy0LJyeRZ8VclT3i5rMsur8wD0tBdmXTdHukR9EILi1cXhwpDJUiE76PF F9F35yIZvEVQTTkMtHQ2fCaLDMJ0unPDd/MxUJICIZGzVOJ8SjKHStXMBGl+TczXEF800VnfN4m SNrPdxa66LDmfyo0oSpT6ynfS6TR2sJzfO2L3v7EKC5k1PjbZunrd7No8XC865IItLST+JvEXJa n+A6NPHJaHSYjQzKgN8nbUzVBC8cfQ6CH8W8+ieIHWm/tz6UVhmHN0VVsvxUzTwppu6kSKq0ISO HaFlZeoEMVFpphjc2xZhmZekk1DYk+9N30T56UWPSZPS28hMLstfqsdVpfD/QFM+GAkpuJczBi1 d+sBViupptAYfUdW8sA== X-Google-Smtp-Source: AGHT+IH36yC+vHnoU4Z4vUJxS0IZMDN212CohrzNd9DyruXdE4iBYfZmjOck5EbifMxjx7SZfvixdA== X-Received: by 2002:a17:90b:35cb:b0:311:ed2:b758 with SMTP id 98e67ed59e1d1-31e77a18514mr11484011a91.3.1753638008792; Sun, 27 Jul 2025 10:40:08 -0700 (PDT) Received: from localhost.localdomain ([143.92.64.18]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-31e8350b724sm3924224a91.23.2025.07.27.10.40.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Jul 2025 10:40:07 -0700 (PDT) From: Tang Yizhou X-Google-Original-From: Tang Yizhou To: axboe@kernel.dk, hch@lst.de, jack@suse.cz Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, tangyeechou@gmail.com, Tang Yizhou , Yu Kuai Subject: [PATCH v3 1/3] blk-wbt: Optimize wbt_done() for non-throttled writes Date: Mon, 28 Jul 2025 01:39:57 +0800 Message-Id: <20250727173959.160835-2-yizhou.tang@shopee.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250727173959.160835-1-yizhou.tang@shopee.com> References: <20250727173959.160835-1-yizhou.tang@shopee.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Tang Yizhou In the current implementation, the sync_cookie and last_cookie members of struct rq_wb are used only by read requests and not by non-throttled write requests. Based on this, we can optimize wbt_done() by removing one if condition check for non-throttled write requests. Signed-off-by: Tang Yizhou Reviewed-by: Jan Kara Reviewed-by: Yu Kuai --- block/blk-wbt.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/block/blk-wbt.c b/block/blk-wbt.c index a50d4cd55f41..30886d44f6cd 100644 --- a/block/blk-wbt.c +++ b/block/blk-wbt.c @@ -248,13 +248,14 @@ static void wbt_done(struct rq_qos *rqos, struct requ= est *rq) struct rq_wb *rwb =3D RQWB(rqos); =20 if (!wbt_is_tracked(rq)) { - if (rwb->sync_cookie =3D=3D rq) { - rwb->sync_issue =3D 0; - rwb->sync_cookie =3D NULL; - } + if (wbt_is_read(rq)) { + if (rwb->sync_cookie =3D=3D rq) { + rwb->sync_issue =3D 0; + rwb->sync_cookie =3D NULL; + } =20 - if (wbt_is_read(rq)) wb_timestamp(rwb, &rwb->last_comp); + } } else { WARN_ON_ONCE(rq =3D=3D rwb->sync_cookie); __wbt_done(rqos, wbt_flags(rq)); --=20 2.25.1 From nobody Mon Oct 6 01:24:24 2025 Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AE09C2222D0 for ; Sun, 27 Jul 2025 17:40:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753638014; cv=none; b=fCLHYxxfpsV8eRO0E1yuNGGn1rD3mMsxDv9t5/8YS0849T/omtWwg5ErNaTi+mYd3GKUUnTU3OhfNdRYjnJigDeEio3WqX2xboc3/8aykSxY2brd9gJDEe0fXtyLqDLaASQFJ0Q2VOLl4aH/ycuOWL64zcwRFTwb6sTQFn6VDg0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753638014; c=relaxed/simple; bh=I3xew8je8GRIx1/aB/St3V1iUJkyLvLXJlWO4o8KLoY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=TsL6pR79Yp/jSdMjktAqK2yaRSM7O0VtflMuC/twmQUejLK/xMZ+6CzwMulha+F0T8oGeR11YOqedV3UlJMIgnPrTd0x7pMoDdboZ1N+OcdgggXti8KK9znFUMTU3Lv4XXU0ffX4UEkNcKi5w9DLlyyXdYHAHl/0EfT4GgG2yJY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=shopee.com; spf=pass smtp.mailfrom=shopee.com; dkim=pass (2048-bit key) header.d=shopee.com header.i=@shopee.com header.b=lxFlbycy; arc=none smtp.client-ip=209.85.215.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=shopee.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=shopee.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=shopee.com header.i=@shopee.com header.b="lxFlbycy" Received: by mail-pg1-f179.google.com with SMTP id 41be03b00d2f7-b34a6d0c9a3so4598888a12.3 for ; Sun, 27 Jul 2025 10:40:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shopee.com; s=shopee.com; t=1753638012; x=1754242812; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=QWYCKfy27tzmCzfyC4JZHP6ASajzBlmmh8Lqhq4+b6w=; b=lxFlbycyswdGpqoDnPZPmOsjsvoeQGvgNzxax9g4mnfl+UMgVHDalOOILEt6AddsRz JmIhqV/5tlTPAC1zza/saSaGC1f0JbLpydX1Rk8xFpMRmOeUvRZYYqMhJyT5zDaOfiQN 0eoYkVjz+sKU94+ULjM4TbV+qlJBJljif4Uk+4OwE8+SD6eFC/Ms6/02pplppeSmF24K eRmmqlII5Xi0PgySKm5KREB3dXKMSGmG6HFu81YLn1ctXxt6TYq2Y1zDiZbI7ZKu1ObZ 1JGdVQSP0sbqC2GEWx/DL6LYrBkCmmTynv4s2deaNBgTqUg4HOiYOytg+9g/rrrzjS/U kvvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753638012; x=1754242812; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QWYCKfy27tzmCzfyC4JZHP6ASajzBlmmh8Lqhq4+b6w=; b=js9rQNJf9dd4uZBvLlFfD7OaWA9bg9oTOXh4ywFn1iCAWnyS8j5x/cVzwhTTSi5Ohp S6I0s/DqAd+DIXrBK76qE1bZgzDyaXm0mgVVqqsstjmrZB+G9FBY7racos9lCr43sSFb tB1g1BL3fgsUdJWLMkJZaAeUFgAtdvIGkmN5roxYiFA/y/KcNBXlOz1IJnhGDLOaaUR0 HUQmpLAdoaaCHgt6yX0qNeiMJXwdwVdFcdp+FJqd43P2C+k8AT07J1utRCthh0v3CCdL 8f6PPH4wSuAw5gcbaVXJ1qEgw1SlbakoJDx3eCYpX1FOQP65s3hFjCAjk5y6ymyqY4b0 0ZBw== X-Forwarded-Encrypted: i=1; AJvYcCUTABbxJB3EughZ4iNMLoDxp92lbLaY0XJzISYylsw1/sP0ftbDDsYXqh1xt7PhS5PntySqQmSdLzPBDQI=@vger.kernel.org X-Gm-Message-State: AOJu0YyWMmib1FMiGX04XLyxcubA6BgVLqqpB+qXVyl1/IUoXDmdOVHA BEHBvy/Sod5HI3wW+Q6lRXHmrvlCvnUvIsOqQtngwhK260nf7LFtuZu54GKZ9rx6sJo= X-Gm-Gg: ASbGncuPRZ3DbdtacnbFM0OX8a4n6kn5rkPqu3Lzn9CX0m3WRzbJQqZAXbS/wpsqEhA v/mD1m3CMJq+gkMo7VaGb2/J1ZzSmb1G/gZYGvnX6jlRjugJg8b/nTmxBtryYcROay3hFEGlkHB JRFhDlMOJvqCCKRskxZSmJOYemiBtx8TZzn/Q9/SYCFNTp8gm+FQ2+fnbLVVQU2ZuwGyJL0uqkF qJhz+66Ukdt+OWWJjS7AMBK4x0TtbRwpcHrF73QeMaqzvuHVSThFxFO9eKQgtaZCaPUKMg1UqMg M3nfq9Uvd8+PrmdubQx4d+rK6/yVbZrxBmdiKu5p7/IYr6TtF0YzednzoVDQZu4XhTBsx8JTLV+ QhOVkCXA= X-Google-Smtp-Source: AGHT+IGDb43ROyBpxntRgNLuY/5vvT4SEpSM2eziMLcTMsmIiZVG0+L6EZVmEl313ywHGdOopIdS/Q== X-Received: by 2002:a17:90b:5865:b0:312:1d2d:18e2 with SMTP id 98e67ed59e1d1-31e77a00959mr13499760a91.20.1753638011909; Sun, 27 Jul 2025 10:40:11 -0700 (PDT) Received: from localhost.localdomain ([143.92.64.18]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-31e8350b724sm3924224a91.23.2025.07.27.10.40.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Jul 2025 10:40:10 -0700 (PDT) From: Tang Yizhou X-Google-Original-From: Tang Yizhou To: axboe@kernel.dk, hch@lst.de, jack@suse.cz Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, tangyeechou@gmail.com, Tang Yizhou Subject: [PATCH v3 2/3] blk-wbt: Eliminate ambiguity in the comments of struct rq_wb Date: Mon, 28 Jul 2025 01:39:58 +0800 Message-Id: <20250727173959.160835-3-yizhou.tang@shopee.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250727173959.160835-1-yizhou.tang@shopee.com> References: <20250727173959.160835-1-yizhou.tang@shopee.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Tang Yizhou In the current implementation, the last_issue and last_comp members of struct rq_wb are used only by read requests and not by non-throttled write requests. Therefore, eliminate the ambiguity here. Signed-off-by: Tang Yizhou Reviewed-by: Jan Kara --- block/blk-wbt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/block/blk-wbt.c b/block/blk-wbt.c index 30886d44f6cd..eb8037bae0bd 100644 --- a/block/blk-wbt.c +++ b/block/blk-wbt.c @@ -85,8 +85,8 @@ struct rq_wb { u64 sync_issue; void *sync_cookie; =20 - unsigned long last_issue; /* last non-throttled issue */ - unsigned long last_comp; /* last non-throttled comp */ + unsigned long last_issue; /* issue time of last read rq */ + unsigned long last_comp; /* completion time of last read rq */ unsigned long min_lat_nsec; struct rq_qos rqos; struct rq_wait rq_wait[WBT_NUM_RWQ]; --=20 2.25.1 From nobody Mon Oct 6 01:24:24 2025 Received: from mail-pg1-f170.google.com (mail-pg1-f170.google.com [209.85.215.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DD0EE221299 for ; Sun, 27 Jul 2025 17:40:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753638017; cv=none; b=rdan1njclbgiHFi/HxIQeSsyYacUAkLLdILnKx7jnUOnAkyAbyrnYYOHfnQEFcNPhnWmiJjjNsWX8OkU6VYzO+O4yRYKEAYXfmITGw8xaikC6vVShA2kt/z8tM2kIWAJx6CUxYZVbyXnzv88OXD9HmrXq6nRCqbaKjyNBXFrJjw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753638017; c=relaxed/simple; bh=eUp8rkkrj67E940zx0z9wttZ3qw6F6iVPZKFsp8IVnk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Xepm+DdeNbXLxJcuaqhlcXM4tjFnNvfm/WyjzBHkHweiuHh9H4Enkk9QJq6mc3tMDiyfE98sJn4YugIW2g6RSu3zKYNLXM8D/MzH9vd8rnyY4s8rNb6otJAfKY9EVhhRIAi9lsRyD0srvtrJkCp0y8zUjZPzXnps791YaUkTNlU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=shopee.com; spf=pass smtp.mailfrom=shopee.com; dkim=pass (2048-bit key) header.d=shopee.com header.i=@shopee.com header.b=HXQSE/Bj; arc=none smtp.client-ip=209.85.215.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=shopee.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=shopee.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=shopee.com header.i=@shopee.com header.b="HXQSE/Bj" Received: by mail-pg1-f170.google.com with SMTP id 41be03b00d2f7-b3508961d43so3403570a12.3 for ; Sun, 27 Jul 2025 10:40:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shopee.com; s=shopee.com; t=1753638015; x=1754242815; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=/4v8mNNgB8Flu0S6Coiw5A84RBTfZ1/sa2qSDgqs8HE=; b=HXQSE/BjHlG0DC4jffKIu/Lz9lO9Lx3rOORBBDfOa431XEVd4M0zoByuYIh1+Ie4pU 0q9GBmJtPUgLDFOFDIAmS4B9UKZdsbw/lbDc28lQwv77Fkl333BBySDL95kIRcx6dDUJ 9sQIEMsfWMvVjQ7MEnXtwUlz5O9+vuEerLLzwe9JO+eQhRfechGXqhOwG8qYmrBVfTMl zC9infnGZrsDwhnrbh1DV5oaYmSc4nbj7apxbTLguB4uIEwgIRWr/tcp/ijg0lTwYVwC e0Blr2NlACSwRm5/GYfH1+PHtYwA1IMCl3acZUV/8T6hQcILWq+O5c/JBeyou/POO1dv 2BTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753638015; x=1754242815; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/4v8mNNgB8Flu0S6Coiw5A84RBTfZ1/sa2qSDgqs8HE=; b=jL59DBTS+E/2QpVSDrz8hvHKTsjZB1qcslFMATPsaXD22iVTeTdE1SwasHr6/PzdKh pqnYwLSLH+24+85eB5IZwrxpuyry511uUVO+AnIHiHi71SA3RrxTQ7OUSq2OCZP3YeCZ CmLuI1jDyM0dpwzjtLKMDjmYHHTQdXtHdfUSExoCoAjDjOZs/DHgyh+Z2OzGihY3KyEf pKA4Ntz429DjQCID2TEps4YkE0RBOvj0tXphQrVwd7CymzwJVeH3nYiCPEVF66BRdmZs PBK7maXDfMdhYYjiG3AHysCb8hMXm/rlsHc5U1LjXLSsCxWOOYmkysSGWMYkmM2mv4Ol iboQ== X-Forwarded-Encrypted: i=1; AJvYcCXCjV9gI/dbX4o75IpHCdsW14ASd6cJSnAkxOczg0ZBDUU4AUyCf0SKMf0A1q3KIGtvhUCV8m7nf/7BWps=@vger.kernel.org X-Gm-Message-State: AOJu0YwUjerjnTYq2ZQ36vOsOrqaIpQCn6UlgIpT4g7JExZOVhaYFbD4 ojusqIZVwYOBACmRzwjtGRBlx3e49Hm3VUg4YP8+IiwLso3RyGjFMJJGvtRzMzHEKxk= X-Gm-Gg: ASbGncuRG7yb1JPORwDzt1hK+oLJR8ah7KJA0Ytbv9whwa/bjiZlfIUHqf/qugrUIce 7Gr41isRjOBHXGwXKMgJmktTwicTFWRAoXXerKZkujCKaFgPlyCWkX/9tmsiS9v1j2fYapm+hN/ TK9SAaYigvBqBBLRV/y5Guz4LXhupfEEvq+qahW9fBO0ZvmYIm5Z2LX83iZVN6dAEKcX0krFutt Tevh8VxHVehew0zMzhSMjrvXjOzDuRYK/K64WkzkglJVHOqbAsemllWbIN3y3lO+6UDd2CMd1qp F+I70AupwOTQjfvAFiSqyWCzha/wY5Mf8JH3g04NaoDuNMwy6WIq6nMPX1hkNhvLDGuAHJLxcFd BJGS8ahc= X-Google-Smtp-Source: AGHT+IGv29CtskpdwrG7FN+exNQheeZ5lwmlkvuf79A3488Y9t5W8AEZTp9o7Z0NNsaBrqCcG69rhQ== X-Received: by 2002:a17:90a:d40e:b0:313:31ca:a74 with SMTP id 98e67ed59e1d1-31e778f7826mr13735566a91.16.1753638015093; Sun, 27 Jul 2025 10:40:15 -0700 (PDT) Received: from localhost.localdomain ([143.92.64.18]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-31e8350b724sm3924224a91.23.2025.07.27.10.40.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Jul 2025 10:40:13 -0700 (PDT) From: Tang Yizhou X-Google-Original-From: Tang Yizhou To: axboe@kernel.dk, hch@lst.de, jack@suse.cz Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, tangyeechou@gmail.com, Tang Yizhou Subject: [PATCH v3 3/3] blk-wbt: doc: Update the doc of the wbt_lat_usec interface Date: Mon, 28 Jul 2025 01:39:59 +0800 Message-Id: <20250727173959.160835-4-yizhou.tang@shopee.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250727173959.160835-1-yizhou.tang@shopee.com> References: <20250727173959.160835-1-yizhou.tang@shopee.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Tang Yizhou The symbol wb_window_usec cannot be found. Update the doc to reflect the latest implementation, in other words, the debugfs interface 'curr_win_nsec'. Signed-off-by: Tang Yizhou Reviewed-by: Jan Kara Reviewed-by: Yu Kuai --- Documentation/ABI/stable/sysfs-block | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/ABI/stable/sysfs-block b/Documentation/ABI/stabl= e/sysfs-block index 4ba771b56b3b..a3cf841ebdff 100644 --- a/Documentation/ABI/stable/sysfs-block +++ b/Documentation/ABI/stable/sysfs-block @@ -731,7 +731,7 @@ Contact: linux-block@vger.kernel.org Description: [RW] If the device is registered for writeback throttling, then this file shows the target minimum read latency. If this latency - is exceeded in a given window of time (see wb_window_usec), then + is exceeded in a given window of time (see curr_win_nsec), then the writeback throttling will start scaling back writes. Writing a value of '0' to this file disables the feature. Writing a value of '-1' to this file resets the value to the default --=20 2.25.1