Received: by 2002:ab2:23c8:0:b0:1f2:fdbc:cb93 with SMTP id a8csp37197lqe; Tue, 26 Mar 2024 19:32:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU3In7nwTXAY7b4ciUOeUyAh/srbTpyECrjyy7AC3m3p3vs2npHgZqUZVhfgxGe5eReZHOkS+2F+62OgZY0R/Tb518/k7DbJy+uGSJslQ== X-Google-Smtp-Source: AGHT+IEj4WmSkWuzjEZHquZ+6gIbn5EBuhauAohFmRq61Eo/1QC/aV4jVureV80o5CL1KHpqVObe X-Received: by 2002:a05:6122:a26:b0:4c0:2d32:612f with SMTP id 38-20020a0561220a2600b004c02d32612fmr7712431vkn.15.1711506765908; Tue, 26 Mar 2024 19:32:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711506765; cv=pass; d=google.com; s=arc-20160816; b=Iu01nRN4dfpSiplNvh0zZgxKftOC6cVopco8WyUup7l+RSZeg2ppNPB3jbNnbzS1f2 HsJAYpx0+nwbHe5dkPDA+87XrX74YDuGd2BnV9ErHoN/rs1iGHCTfWk0n0CgO4ukpmwN neFJMY25Sf3ndcpjQnZLEYeXPdWdxyQPIHZ2nq7TnXw+DSO6BR227wHMX3afYerFnVsi sOUh4O4KzkJo9XTBU6QaJpozDG0E/4Crf3mX0Kt3G1WGS66W9TyXV1h8Uax0LlVEXf/W Isq1kJuN88+BwdeTRnKDeOIb72hsz6UKrEpG/CVpxoEb3fGhltcad5pmaijGCuzoW2M2 iWcA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=K2zdk+IPiJCuMUqRfK86wOdEpvaU9O1xQxihU+RkeVY=; fh=NcN1Hkd0ugSwBfspbszfpNGmr0LSbf20TCilhmS/JPk=; b=yL0ISK5ao63ykO9K425tpzKd7RqO/VoWXOHyUr0CfrBhIAgSJRgGrGxX/xidpF1RqH s8EHxINC1DjzQ6+anRZw/Z+MVvyh/H8ZaJEkNEwqsfzbd46Xct85A+Cf6yaaSSZEKGOp ByazcpPhGUEdjC9Xp5WsunAO7v+fefU58tYK/p32StvXEXsBRlqCWGDY0ZPbSmEVzWig 4r6WnPyfqSwlaHhjATwQ/FzYFZzgDRVl+BDWRiQ4SrXxlATrVac/Q8jtVFLr13R8Bf3T oUkcluS3S47DeM0l8h25IY+Dx82vWAR2IS+vCqA5quQtDtZbC27K72DeCddkqErzMX5Q 76/g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=TVgKszvn; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-120218-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-120218-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id t14-20020ad45bce000000b0068f467dbcdesi6380713qvt.32.2024.03.26.19.32.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 19:32:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-120218-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=TVgKszvn; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-120218-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-120218-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 9610A1C2457B for ; Wed, 27 Mar 2024 02:32:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4762379DF; Wed, 27 Mar 2024 02:32:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="TVgKszvn" Received: from mail-qv1-f54.google.com (mail-qv1-f54.google.com [209.85.219.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 1C9EE107B3; Wed, 27 Mar 2024 02:32:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711506758; cv=none; b=PNmQis6r+Ath9bEMa/H37xzdFfAf/TbVn7Bib2nE4TxA1pxRq4IqyoE4/VIKizYbnqzQsnUDIGLtrls65uVMlT9xW2TFgKVQiyfDx7pc0pea1Ilv7YyzqpAUZRjWJ7Y5MIRU8gBAwMzfyQrhOeFG5ibvkSfG+s0QtfGFoGsdUPg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711506758; c=relaxed/simple; bh=K2zdk+IPiJCuMUqRfK86wOdEpvaU9O1xQxihU+RkeVY=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=bsxu/DlEjTBkTvDqTFljjMiTP6y2DKLZEakSR+CWjDdIuxhSlFPUO+PCoGOSjWd1bBnkkvjsnJFbowX6F7WI4U5p9ph7ei6qQ6hbdcp11Jlbu8OplrJq02vI/aV5xGH8xgpMLILQkjwwghez9GF39mdpLLDLPIGUBvcEz0ukPFI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=TVgKszvn; arc=none smtp.client-ip=209.85.219.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-qv1-f54.google.com with SMTP id 6a1803df08f44-6962a97752eso44692906d6.2; Tue, 26 Mar 2024 19:32:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711506756; x=1712111556; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=K2zdk+IPiJCuMUqRfK86wOdEpvaU9O1xQxihU+RkeVY=; b=TVgKszvnEwkK4xaNJ2z6wy+dxpxjh1y033vpxf9VzN01tRhFUpao2yHRluJFlibmv+ iGFZITi9iYeeu1Yre6F913cTe6Bps7bMwkPLls0jDQ9G0XZzMvscJfmVFgN9gSPmhDi9 QxE75xqubCNKI2BYysyX2ztDBYUjs0/7v4z8IK4luv11CVqbYZSZHpDrXqH6yCgyPpQE fKW+XuoOLEOPvsEalgisT1CiSr8hdeYyNlBmVHEayYhbpIv8NQEViC79B/kYi2mXNHUb C7RpcUhZJPNH55GDln2czATwMv0gnV8gvddZsKLn1Gn/a1lJMbdUmfXtMaaLYV1g8GX2 JHJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711506756; x=1712111556; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=K2zdk+IPiJCuMUqRfK86wOdEpvaU9O1xQxihU+RkeVY=; b=kqs7NwJf3BbkEd19Yvxk5a2brlN3htpfrnycYFciRpGqQVFPB+68fvOjnnDrrdAK5X ovRPX0SZUwokZUOYCl3cZidTopCRe+hvSr9BU0Rg1mmmsoWPtLn7YciUMSR51usJ8hr2 e20Umi3DLF1YKcOuPkz9m1wLaQ36DVwuUP78lRoXUZNWV0qPdYno2RkAopi4odG38yXn VlrI6QpwvPjLhn1ADk9CbrBGKrMuvzTdPkONJtdJk3RZ8voTrNIL1tLR4tJbLmyUNzoo Lqr9/r022/OQPDAMQHZUkBxPoaceGLdCTISxgNLcD8trPzC7tlYDoC/oZ7FOHNCKESva y7aw== X-Forwarded-Encrypted: i=1; AJvYcCXO4grYjvavAKYzBoZbPojHjIbAca2NcsLT2xaHJ7fhUCCr8e+ZaYSCKTcps4XcXkffNkcrnFSMJLyVlSX2Ra0jAWU/yKidF3pRG+nSUIrMlcTJwG0m/S7ZmmhwX5ztPqbogECcSlitq9K1U6E= X-Gm-Message-State: AOJu0YwFfgCZ2Ts26bTudmpfWcgAX2AmuwJvzR6H4nwDsRlY0Zigdgrm n8yimCbUyVip+1Fffg2PMCQcunBAi9nq/dHyzWJYAmHXtvjk9TbEGyzliIwTYgQ9n0zDhk6a0Ok uRVL+RSnK0zDTgvVzMoo41c/sibQ= X-Received: by 2002:a05:6214:2b0c:b0:696:4855:cf18 with SMTP id jx12-20020a0562142b0c00b006964855cf18mr11842065qvb.43.1711506756022; Tue, 26 Mar 2024 19:32:36 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240326120345.68786-1-zhuxiaohui.400@bytedance.com> In-Reply-To: From: xiaohui zhu Date: Wed, 27 Mar 2024 10:32:24 +0800 Message-ID: Subject: Re: [PATCH] bcachefs: add REQ_SYNC and REQ_IDLE in write dio To: Kent Overstreet Cc: bfoster@redhat.com, linux-bcachefs@vger.kernel.org, linux-kernel@vger.kernel.org, zhuxiaohui Content-Type: text/plain; charset="UTF-8" Thanks for your patience and explanation, that seems a interesting issue