From nobody Thu Nov 28 10:56:55 2024 Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.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 14F351CF7CD for ; Wed, 2 Oct 2024 12:24:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727871864; cv=none; b=qbFlfHhSVvLZucVVCQrC79wdX7hla945iFzYkfS/Krip4Vsow3YWu2/C8r/vljT9ZJTFfLpdwvSOTtFq33HjVk4pKzK5ksuqK3FbxhX3rn51jSO7zAFsUibS9ni4gCXRb9TYgqM4UG4rq0v6b4p+pf/D78rZG2aZKHMUBW7U4js= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727871864; c=relaxed/simple; bh=NeAb70ID8j42G87nUgP8vvtPg9itQ0xe55AFpbyVkkA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=tnxRUMETksWSfJ0EAMi6igapTtMG0spNhPrPzqR4EH1mVa8ZD/wSKYg0te1Nq8oMLX+1ZZCaXnXWGfqAE3bSJI/pWYZZj0jx6bYKntrdK65vtgusqlRxkebbHCFnGsGhJVAlswVm3IHF3O1RHcJynYVrWYrgPgRJA+fs8TYIx5M= 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=TaO/hpKj; arc=none smtp.client-ip=209.85.214.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="TaO/hpKj" Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-20b93887decso27577425ad.3 for ; Wed, 02 Oct 2024 05:24:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shopee.com; s=shopee.com; t=1727871862; x=1728476662; 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=x9jxj/j9nw6e8DwJ91on41pytWzp7KvscJb32q/qPAQ=; b=TaO/hpKjtqjz2/05Gh/g3dKJT/ukpVoOu5IgJ35lvMzEaK4vbdsA3vvW84pth2rWii +fURrrJbb2kMD9uUhJnCQ3YGC8UfLhedx73w69uy5AEyRnx5pDCzYAyyPo+Uwsb7zH4T VwE0JEufv34Nc753TgeeH5CjkCACD2xrIN4bdg6i4g5BIUN+04wWNZQ06403eLdwDiUY bmjeFxd/XJVkfGS2PDcDHAXMxupnsPU/S15NC3MDWBwJnkYQ0Vbso4YpkLw1twAk98KM hYdU5gN1OD+5axTGbmMSL0WhZrc/JhoPOpDRwXzgUWKlwzv5fh6mhu/BAQh9dcPRpHKV u88w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727871862; x=1728476662; 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=x9jxj/j9nw6e8DwJ91on41pytWzp7KvscJb32q/qPAQ=; b=iRoPbgJclqWs5sCcVyhK5s/MC5bBvJkfbpQJ3hl2PTM75VVHapkFeFR5LjbvL37PN8 DDTgl3nnd/Mehmly9Sc5ZuTcxOaBRAm1HOtQoPm2puQ27oA7V66iq2mLB8qPtB/TwWYy VHR8PX9WepXQQT4dtrU8F1lcEedLtttWMZ+w8WCmvhY/2MQb/XedyUUEdWAAs6StHJl8 ltq0PqPrazvjkGOvXnsukb3A8uL+Qk9CjGt6ZFEU6f1i/GVj5Qcfueb9DZ9AXeRLrWeQ 1AKBrg2y+80UE5N3Hi6BY53pILvBBPWMt6m2kZq20uxfacZx/Jb6n9DabthjabdKOAzi K9dg== X-Gm-Message-State: AOJu0Yz2wCULbJphveAQ5hubcgDUBtbiDm18PTBs+WvJicqaa1WBOvqT fFZULhkRY3tsTZr4qoNKOinNEJb6rU+bEbNkQWvGDMZsy3hOgW+wuyobTy8z1cI= X-Google-Smtp-Source: AGHT+IFXFlvM15oq56YUiyDf4u3yzUYz4CacAXGpKSzhgTP9fni+duAM0RvW9k0i+kMeuFGumcgwKA== X-Received: by 2002:a17:902:f548:b0:20b:7210:5859 with SMTP id d9443c01a7336-20bc5a5d3bbmr44457335ad.38.1727871862407; Wed, 02 Oct 2024 05:24:22 -0700 (PDT) Received: from localhost.localdomain ([143.92.64.18]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20b37e33852sm83508625ad.199.2024.10.02.05.24.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Oct 2024 05:24:21 -0700 (PDT) From: Tang Yizhou X-Google-Original-From: Tang Yizhou To: willy@infradead.org, akpm@linux-foundation.org, chandan.babu@oracle.com Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-xfs@vger.kernel.org, Tang Yizhou Subject: [PATCH 3/3] xfs: Fix comment of xfs_buffered_write_iomap_begin() Date: Wed, 2 Oct 2024 21:00:04 +0800 Message-Id: <20241002130004.69010-4-yizhou.tang@shopee.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241002130004.69010-1-yizhou.tang@shopee.com> References: <20241002130004.69010-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 Since macro MAX_WRITEBACK_PAGES has been removed from the writeback path, change MAX_WRITEBACK_PAGES to the actual value of 1024. Signed-off-by: Tang Yizhou --- fs/xfs/xfs_iomap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/xfs/xfs_iomap.c b/fs/xfs/xfs_iomap.c index 1e11f48814c0..bb4018395b6e 100644 --- a/fs/xfs/xfs_iomap.c +++ b/fs/xfs/xfs_iomap.c @@ -1097,7 +1097,7 @@ xfs_buffered_write_iomap_begin( end_fsb =3D imap.br_startoff + imap.br_blockcount; } else { /* - * We cap the maximum length we map here to MAX_WRITEBACK_PAGES + * We cap the maximum length we map here to 1024 * pages to keep the chunks of work done where somewhat * symmetric with the work writeback does. This is a completely * arbitrary number pulled out of thin air. --=20 2.25.1