From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) (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 1C96F75809 for ; Tue, 14 Oct 2025 05:10:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760418654; cv=none; b=c2R0Qxtk1oFReX81bx2vBsqIjQZWmD76VoV1MRmiVqfuKptPjGg4Vr+ifw6gigECm0O1STO7OuDzkmvjRFA0QfTorXl8+XFtNp7+J8JIH0vBiQW9K6M/w18HI6SVeh7uZ9EC5tL1S7lgLXuDbGuy58FqcIze5B8k6egw0mR8Vuk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760418654; c=relaxed/simple; bh=056xWVMlQB6yM5hEPTfg/Iz6mp86SxqH9G9Bx8zA0b0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=qtcEoLLMblARuIaqQom+uFzRHPU0ijC6Nx0LqpD9vDP89lqHFcyUHDvnPsm13J2XUzquaDAmEueKSJ9MKxpKkOoyorroJFKFfOFK2KteCs0xKw0QPKQRcAC9rRojrSRIeThfgiYW4We6J3+kQXeoGkeTYBnrgvz5b7racOSDLO8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=Af4EhvM2; arc=none smtp.client-ip=209.85.221.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="Af4EhvM2" Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-3ece0e4c5faso4613878f8f.1 for ; Mon, 13 Oct 2025 22:10:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1760418650; x=1761023450; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=w0MZBFptNWdkfouEcVHOtRQWTPFO4rz9x5djAVC9lXs=; b=Af4EhvM2JZbmPSW2wt/rtorq6g0gqb6WvGJJKiG4moYI14mgUeQvfdXoDxfiqhjnUc ackYd13Z5UfdCRTOZ4PZ8fSrC4fkfnkpmcoPZXhkSs55TtuaNw/I23SU55ZqbaIb8/ow KyLiT2FGlIucaAJKO7JV3yqiqqcOK6hEMVZYHiACrfxBGzVZ0TB7fRuqMb4K0hqqN6Gy qmXGifzXy+bRz02dYsOBd0ns/n6ZT5BLsuqW29/YuzAS57fIRMXDaMf7r/XcuEXN8ZU0 M9XX04euH/+7dTGxxl/609f7d3rgvDgI3vU99IEpP+wT70YRe15sUPYcF+byA7KPsyXS q4Fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760418650; x=1761023450; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=w0MZBFptNWdkfouEcVHOtRQWTPFO4rz9x5djAVC9lXs=; b=Z7Ln3z/oxwvolKf/oTIqVOK+Pxhzb6t43LscITvgKHzMoZOMugAaWuK7SVCBib2nIw Gv8+KqXfNcw8892j5roV/YD/tDXHGL9pyT1vpZYB4ba7mqISLnTt9Ge2BkgnqEfRNBeK D07b7DcrabnAdjePnAH9lCBapScD6jUAVt10JSopQYh0VLcZihvqiAC/EGDISJ1mvnyb CA9YTY4Qa3Y4gu6Ea4mpvTnaZqIt1i+PmHksWakxYd6ZIJEWjzsU6lYwHzVDN0pzkcQE ML4oxzUev/I/+c2K/hDYY98MkIyYn/MysSATp3cawWuSfpD7d2auDH9uETY2Lfz7BCbD Mq0A== X-Forwarded-Encrypted: i=1; AJvYcCX87rbqwURichxdlygsJvm40D+H37KY5YHLJCwifQejie6C5THl13y9/2GJxjEnDcu9Njm0+SfTDjKbxWq2@vger.kernel.org X-Gm-Message-State: AOJu0YzvX1gDx4z0S75egPdR5ES7+A11t3tgmZsgI5yyWjdWPla26koU GHVxtMrj0Plgq9/5Gy6N7YwezPDPMDfKUoCfehNzFwDr1VCzZf+XdS0GXjpSYz/LivQ= X-Gm-Gg: ASbGncsqLWVsqtdAl8jkxfi5EjVq73zeznKhfg41QaAqxhCvw4N+IlvkmVhhUEgEpDZ Cs3r+5H6MxKfENRDpu3tc3yCVuZXkuRgVFMtFSp7bI13xR/nCf68uBKqeu1IgmazmU4OUUKXg/y dbJFaOP1sVoQupTa8KRSr8munox6TxjDesKxY+mHPHcZcervQ7CTh3GyvzhmeTQjSZI8LWX8hRr dCrzIZfvf6naPpoZrjK5Kbj8ja+NLs4b+XSsyK5pl/WYW9ZqGibYsJlZS9jjswTba6X2mL1IOoh 1kpeHf86u7cMSpvRhr7dz0k7lkNqoFa0BTuTqJtKEjIrDj8vE+/mTTyQd96slmRKWlMY8i9d/Lt JX+USFcpfEhJ35zzqt9gYlou4sip82yEvPTdsTLQdHUdaV/YFtV0yKuxC2xII6L/CQCyy2OKrNc HV+4nP X-Google-Smtp-Source: AGHT+IFDfukt8ElU2uUIMPKSUQbK6e6P/Qpt3+OqqL2RpgrQD9ez41vaEOfsSOzU9xtbmExE5sgPWw== X-Received: by 2002:a05:6000:3106:b0:3ee:12a8:6f1c with SMTP id ffacd0b85a97d-4266e8de388mr15701619f8f.46.1760418650412; Mon, 13 Oct 2025 22:10:50 -0700 (PDT) Received: from ?IPV6:2403:580d:fda1::299? (2403-580d-fda1--299.ip6.aussiebb.net. [2403:580d:fda1::299]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7992b63a03dsm13500800b3a.19.2025.10.13.22.10.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 13 Oct 2025 22:10:49 -0700 (PDT) Message-ID: <8267e2ae-de17-40e2-9100-6eeb2b3680e6@suse.com> Date: Tue, 14 Oct 2025 15:40:45 +1030 Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] iomap: add IOMAP_DIO_FSBLOCK_ALIGNED flag To: Christoph Hellwig Cc: linux-btrfs@vger.kernel.org, brauner@kernel.org, djwong@kernel.org, linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org References: <5a9e8670-c892-4b94-84a3-099096810678@suse.com> Content-Language: en-US From: Qu Wenruo Autocrypt: addr=wqu@suse.com; keydata= xsBNBFnVga8BCACyhFP3ExcTIuB73jDIBA/vSoYcTyysFQzPvez64TUSCv1SgXEByR7fju3o 8RfaWuHCnkkea5luuTZMqfgTXrun2dqNVYDNOV6RIVrc4YuG20yhC1epnV55fJCThqij0MRL 1NxPKXIlEdHvN0Kov3CtWA+R1iNN0RCeVun7rmOrrjBK573aWC5sgP7YsBOLK79H3tmUtz6b 9Imuj0ZyEsa76Xg9PX9Hn2myKj1hfWGS+5og9Va4hrwQC8ipjXik6NKR5GDV+hOZkktU81G5 gkQtGB9jOAYRs86QG/b7PtIlbd3+pppT0gaS+wvwMs8cuNG+Pu6KO1oC4jgdseFLu7NpABEB AAHNGFF1IFdlbnJ1byA8d3F1QHN1c2UuY29tPsLAlAQTAQgAPgIbAwULCQgHAgYVCAkKCwIE FgIDAQIeAQIXgBYhBC3fcuWlpVuonapC4cI9kfOhJf6oBQJnEXVgBQkQ/lqxAAoJEMI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oAXek8MF37R8gpLoGWl41FIUb3hFiu3zhDDvslYM4BmzI18QgQTQnotJH8= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 在 2025/10/14 15:28, Christoph Hellwig 写道: > On Tue, Oct 14, 2025 at 03:25:31PM +1030, Qu Wenruo wrote: >> Unfortunately that may not be that easy. Either we merge it early, meaning >> just this change + using the new flag in btrfs. >> But that means it makes no real change at all, as bs > ps direct IO is still >> disabled. >> >> Or we wait for the btrfs sub-block checksum handling patchset merged, then >> with the full bs > ps direct IO enablement. >> But that also means we're waiting for some other btrfs patches. >> There are already too many btrfs bs > ps patches pending now. > > What's your plan for merging this? I was going to look into doing a > patch like this to improve the zoned XFS direct I/O handling soon, > so if you aim for 6.19 we need to figure out a way to get it into > the iomap tree and merge that into the xfs and btrfs trees. If you're > not aiming for 6.19 we could merge the iomap and xfs work through > either the iomap or xfs trees. > I'm not sure if I can get this patch through btrfs tree in v6.19. There are too many pending btrfs patches. So please go ahead through iomap/xfs tree instead. Thanks, Qu