Received: by 2002:a6b:7707:0:0:0:0:0 with SMTP id n7csp2621343iom; Fri, 20 May 2022 11:37:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJydBoybZ9zXsFW5pzRCEgog5ViJ+WIe4be4Z/NefdaS38XLuoCo4ZJdvYC140k+fpP6FthD X-Received: by 2002:a05:6402:2999:b0:428:bb4d:6cea with SMTP id eq25-20020a056402299900b00428bb4d6ceamr12395805edb.29.1653071825341; Fri, 20 May 2022 11:37:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653071825; cv=none; d=google.com; s=arc-20160816; b=z+AGN74jDp5vlNyVsPK0tzbVnR7LhfxDswyVpCxevxnqjoPLfMgPq6r3/iDZfO9882 esm8i18IEQ7VCry1VAE3xB3X60ASVrOsgxPMErMe3iraj0du5lBZrjB0srlhGsS343qZ /NzFYwfMjI32R1fM78fsoMtO5a++247xUtBXstXycZgeg6iEdXkIiG4m/UEHel52tF8O MrgmnKtOJX40H417DLSi9WjT+GS6nXPBS1GTy+DOhb0vyLGt/XNlH5z4+YDtwmUsD3Ol O1HcLSLxGOqBFZw0nzNwp0INZ+keV2aU9Uf3BR8hMEx20zpn7X/hafPAMbWBcJVwiRah fGOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=fGHBYx9Z0kj8n/0d3//S1qbtfHPwJBgSjE1CmGWstqo=; b=IBYBbNiDZqurIY+TMLZt1o7VA2uaY/IMfi3I/wmCguico66NZ0zWXnW0QoXZJS5IW3 GTjOfvn3hMLFxzKbrfev9s3b0areITCGY0uac9LaSlaF5VxYQy916gp82QUeIorUTggI 9udRfNoj504z/lj+Sr20nVvzeFSf/KWkBbgIDxZ4OzUtig+yOd1vwEe6x/sbyqccxm7f yOLoXXFHc6aHVYkHgEhbuxTwmGn7L6cpapd7yqyxJQQXhtHrVp/PuBvS07uJ7s7ehDmd GlgG6GcFKKofBEz4aWNNPdxA6a0XIKjj+/lgnK2YfC8yiWHpGvQGdmXRGzlhrwsDcsoq cj8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mIi0kfLH; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z10-20020a056402274a00b00427db30b309si2030541edd.319.2022.05.20.11.36.31; Fri, 20 May 2022 11:37:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mIi0kfLH; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345847AbiETGaH (ORCPT + 99 others); Fri, 20 May 2022 02:30:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34726 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345817AbiETGaG (ORCPT ); Fri, 20 May 2022 02:30:06 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89EC214AF51; Thu, 19 May 2022 23:30:05 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2517A61D97; Fri, 20 May 2022 06:30:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 342CEC385A9; Fri, 20 May 2022 06:30:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1653028204; bh=zLcVAySAGbHavOCyzZ3mHIX/dLccYG2RDrRrXi8XEwY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mIi0kfLHATOya+xGeR0ur/w+CnAM2SQc8hib3dEpvbOubRYGldcau8s/33XCt2s76 SThI5nP5Bka/U8+8maJc8ic6ISPZUSR89qgmdoBjvGiqKfq7osmnUSaJHcB6JaG+kf KbTo0iwc3dep7dA/EntYOhibh5zEl3e1WihnZHvrlzXhxsrS7FoVV8b6UdpGBAyRFf Mgjw7EIhBzad06vU33Lx5bn2irSQTKaen9hMmsvds+j654UiaktBoZjKnKcWp+uVfB Vi6Px9ntf2zfzBRwDwtTs3Xltn/kmUYIPpa1ptWnO+w7PtNiWQmW0CZDuhK4HMXxOi 7bR3YsuCNmwWQ== Date: Thu, 19 May 2022 23:30:02 -0700 From: Eric Biggers To: "Darrick J. Wong" Cc: linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-xfs@vger.kernel.org, linux-api@vger.kernel.org, linux-fscrypt@vger.kernel.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Keith Busch Subject: Re: [RFC PATCH v2 1/7] statx: add I/O alignment information Message-ID: References: <20220518235011.153058-1-ebiggers@kernel.org> <20220518235011.153058-2-ebiggers@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Thu, May 19, 2022 at 04:06:05PM -0700, Darrick J. Wong wrote: > I guess that means for XFS it's effectively max(pagesize, i_blocksize, > bdev io_opt, sb_width, and (pretend XFS can reflink the realtime volume) > the rt extent size)? I didn't see a manpage update for statx(2) but > that's mostly what I'm interested in. :) I'll send out a man page update with the next version. I don't think there will be much new information that isn't already included in this patchset, though. > Looking ahead, it looks like the ext4/f2fs implementations only seem to > be returning max(i_blocksize, bdev io_opt)? But not the pagesize? I think that's just an oversight. ext4 and f2fs should round the value up to PAGE_SIZE. - Eric