From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) (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 18C061E500C for ; Tue, 14 Oct 2025 05:10:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760418654; cv=none; b=CnJV5mFLJ5I5OnpXaoyRvksUpJkcboewKn98Js3CxJ7cy1qXNImEauR/hLxY+b1KgkMEMqZ2GZpqoUByOEJ3F0AbYR95eiZcoPGZH3xJ238w96Xb2DIbJUPFqY9sCu7p8aK4vGkg/mfOzN94n7srNAkyH+PsXPqgJp2+tZU7wPg= 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.46 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-f46.google.com with SMTP id ffacd0b85a97d-42568669606so3551272f8f.2 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=bB7RP5byQJgUA7tkQ4TeuVm9II++SQM5LvpZ/QBEfrXbntdykMi8OJcoRXXLRG9mJ3 KhxsxfdGKbL7lyL9V9QI2J2hYZPw49Ts+WvjIW3MmDJ4+77PQbJiwLtRKDINFCxRP/fk Bj6iSWd8kRBibitd9gBPQzGWX7sUoe+WPZj6EzJ7Z3+oAcxCJn2W5akl1tOrWuk3w4nR 0lTpZMpxgc1S8D5Q5kv+ZNs73zGPSh2lKmZ9lu6T7NGdS6hKvMI1Of1OclFiOX3pry9W 5jRBlugh/O2yy0Ja2i3XxCc4xUzhx6vbPwpJCAhKniS1oZ0WEK5QyzU1hTh5EXSn9N2y gwlw== X-Gm-Message-State: AOJu0Ywf5LAzU+PzQi7a6+5Ltb9dZqfqV4akzNDDyHpl0QlEYcjbsNOm IEoYrno6eRZPLJX8pBvsZWb2vaOM30XVJIFosn2ip8LVtfMpWzMLxP2vxmdgzlLL4YA= X-Gm-Gg: ASbGnctdr320QiuLRhx9l5hOHeANlBCKd3HQuYDkUjfyPN1r2RlIAPoIh/UFd7/RB5V aUaLJfttYR2LZsMhfhaPycc7vitNcNpjGNvVdb2Vr1NxF5hNmvk5NU/YxeRCK0fdKiO6FEl41dN PPY707f9lrLa/Uq7VF0C+0HqzNi7f2b7dVWua1jP2EJwSB7ozdMemgxGWe+6lOsZjmCnafN+LLE m8soFqotrKTuJGa1CcK1CDooA4/Aasd3WqJton870auZhiquZaY43ZxBWgjn0CYAsuP1THfLffG BXDpEHkZV7DngQ9VQssMWtEZns8McUtJ4Xfm0EbsBKdw/rVXO4JrMUIKxiqfKv+JzGr6KhES/Z4 5JQKhviVORmb+EKib9wqCPl/9i93rg+eWK2R1V/z8kOjyUJdsCwhFmoHEGMWgqsUeQVcYW7H71r FLVT9A 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-btrfs@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/lqxAAoJEMI9kfOh Jf6o+jIH/2KhFmyOw4XWAYbnnijuYqb/obGae8HhcJO2KIGcxbsinK+KQFTSZnkFxnbsQ+VY fvtWBHGt8WfHcNmfjdejmy9si2jyy8smQV2jiB60a8iqQXGmsrkuR+AM2V360oEbMF3gVvim 2VSX2IiW9KERuhifjseNV1HLk0SHw5NnXiWh1THTqtvFFY+CwnLN2GqiMaSLF6gATW05/sEd V17MdI1z4+WSk7D57FlLjp50F3ow2WJtXwG8yG8d6S40dytZpH9iFuk12Sbg7lrtQxPPOIEU rpmZLfCNJJoZj603613w/M8EiZw6MohzikTWcFc55RLYJPBWQ+9puZtx1DopW2jOwE0EWdWB rwEIAKpT62HgSzL9zwGe+WIUCMB+nOEjXAfvoUPUwk+YCEDcOdfkkM5FyBoJs8TCEuPXGXBO Cl5P5B8OYYnkHkGWutAVlUTV8KESOIm/KJIA7jJA+Ss9VhMjtePfgWexw+P8itFRSRrrwyUf E+0WcAevblUi45LjWWZgpg3A80tHP0iToOZ5MbdYk7YFBE29cDSleskfV80ZKxFv6koQocq0 vXzTfHvXNDELAuH7Ms/WJcdUzmPyBf3Oq6mKBBH8J6XZc9LjjNZwNbyvsHSrV5bgmu/THX2n g/3be+iqf6OggCiy3I1NSMJ5KtR0q2H2Nx2Vqb1fYPOID8McMV9Ll6rh8S8AEQEAAcLAfAQY AQgAJgIbDBYhBC3fcuWlpVuonapC4cI9kfOhJf6oBQJnEXWBBQkQ/lrSAAoJEMI9kfOhJf6o cakH+QHwDszsoYvmrNq36MFGgvAHRjdlrHRBa4A1V1kzd4kOUokongcrOOgHY9yfglcvZqlJ qfa4l+1oxs1BvCi29psteQTtw+memmcGruKi+YHD7793zNCMtAtYidDmQ2pWaLfqSaryjlzR /3tBWMyvIeWZKURnZbBzWRREB7iWxEbZ014B3gICqZPDRwwitHpH8Om3eZr7ygZck6bBa4MU o1XgbZcspyCGqu1xF/bMAY2iCDcq6ULKQceuKkbeQ8qxvt9hVxJC2W3lHq8dlK1pkHPDg9wO JoAXek8MF37R8gpLoGWl41FIUb3hFiu3zhDDvslYM4BmzI18QgQTQnotJH8= 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