From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3362630567C; Fri, 10 Jul 2026 21:53:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783720412; cv=none; b=bUx5t9PoJwxzJa77zaPrOv1jB78VPsgdlMSNrmDT2e1COjuZadWep+BFeuc5/tXV6qFIqz1wutQ/nu7usZlcPpivO15sPDiHm+N9Uyobb/2QfRIfrX5/zQ9XH1gKKsQgjuNK+HWYGJALLw6xfV+Yyu9nTpN1s4FZRd+fufYkip0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783720412; c=relaxed/simple; bh=N7LJiaCHFsUsGXKi+IsqyL1nF7fcEbn8+AazIiPJzCk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=r5X0ww8+6pTT5yDIIAfFPY/eayjnjyrylXdMtR2Mo7a+aSIygIoBQxNziBEI/G1jF39FhZ/dre78Frnt5nNDsdziPGF5VQBvHosz9tRzHsSRqssrj8IFCWHkb/3FiLzn648Citx2YYWrR12QJlq7cXdJfzIaL/L+sAjPcGymUJg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Ortp2wtX; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Ortp2wtX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BDE381F00ACA; Fri, 10 Jul 2026 21:53:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1783720410; bh=bacwDZsOZFP+i+Bl8YQK08roVp2/1oQDKcRl9Y/BMBg=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=Ortp2wtX2bNnnSzSOao5Jx2OTEF/Tk5MQuajBlAyNVNLoJRfnhIv0TUdBRCZmc6gE p/RnFzOhdxUubLz1o0YPqF8KL6o0kNnl6SG0X6306GtlCKcQ98dOce8LOBJ2xSzDAC vFf3+DbYtoeliLAb3vMsUgVTxvP3ngPahCkKGi8rro3SEhjjFPu19pS9Uw1YWKouCZ pkCXlLQQr+LbKlelipVh1MOzN7wOf0lpJ0Fp3Uqmzd0v6BU0cbQ9T3CevbEsn616B3 zguA0fKb8ZrXrzWNUGQqScryx4RGO7hHhrHIuy5RQV3+RuXP+zhUz/tEJWmUMT1a+2 L/zf83kawyWzA== Date: Fri, 10 Jul 2026 17:53:28 -0400 From: Eric Biggers To: Keith Busch Cc: linux-block@vger.kernel.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-fsdevel@vger.kernel.org, linux-xfs@vger.kernel.org, axboe@kernel.dk, brauner@kernel.org, aalbersh@kernel.org, jack@suse.cz, tytso@mit.edu, Keith Busch , jaegeuk@kernel.org, cem@kernel.org Subject: Re: [f2fs-dev] [PATCHv2 0/5] direct-io file extended attributes Message-ID: <20260710215328.GE1911@quark> References: <20260710210646.3576365-1-kbusch@meta.com> Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260710210646.3576365-1-kbusch@meta.com> On Fri, Jul 10, 2026 at 02:06:41PM -0700, Keith Busch via Linux-f2fs-devel wrote: > From: Keith Busch > > The attributes reported through statx are incomplete for applications to > fully know exactly how IO construction is valid or not. The statx call > can report minimum memory alignment and total granularity, but it > doesn't show the underlying gap boundary requirements or max segments > per granule. > > This series adds the minimum to the extended file attributes through > file_getattr. I hear this is the preferred interface for reporting such > things over adding more fields to statx. In order to get everything > under a single syscall, some of the attributes are duplicated from > statx. Okay, in v2 we at least now know that the existing statx UAPI was considered. Could you give a specific real-world example (with the actual values of each parameter) where it's not sufficient? Without that there isn't really any way to evaluate this proposal. - Eric From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B8F7FC43458 for ; Fri, 10 Jul 2026 21:53:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.sourceforge.net; s=beta; h=Content-Transfer-Encoding:Content-Type:Cc: Reply-To:From:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Subject:In-Reply-To:MIME-Version:References: Message-ID:To:Date:Sender:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=OfPvGIt8D5DygSr7GBBCO3//iaEH2xQp/T/xNbXmVGY=; b=bwuhoyDWiFbd8cpAL5LhjNYZ0a ByiQx4dDdVIXDsmTeYoQKu1k+l5AcYgTIik7hh3NcRvaxZYzFtWkqdliyW9X87kwykal9Jxh3cB3J 0L/J8SL6U4/hsPy3x12quABQf0Old2AKEt7BHQIn944ZIoDLYgwn2gxv1ie/6VlOqLgM=; Received: from [127.0.0.1] (helo=sfs-ml-3.v29.lw.sourceforge.com) by sfs-ml-3.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1wiJA8-0007wA-F8; Fri, 10 Jul 2026 21:53:37 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-3.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1wiJA7-0007w3-Tm for linux-f2fs-devel@lists.sourceforge.net; Fri, 10 Jul 2026 21:53:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=bacwDZsOZFP+i+Bl8YQK08roVp2/1oQDKcRl9Y/BMBg=; b=T+ERHwp6FG1KPu952EXBVV0XHu qdw3eAwObHSyySicOkis98vjCnoz4BZblDuHk+mKyxpXo4eqN+3DRNJ+QyZ+UvUp7mwHf5p1EiGmG PCWAwj+Nn7imuEt29Zff+zG+C3rGOIS17flDvublk9SAWZqwI71dFAAbkQmb8Zz84ARs=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To :From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=bacwDZsOZFP+i+Bl8YQK08roVp2/1oQDKcRl9Y/BMBg=; b=HbiqBCFxCwt13Me3g5hsQK6zXO GAAwyv/yo1yiOuODQh2xdSZruiOapwZWV+HmsH+0LDqH+FE7xjJQOInmrY6x2kAYKVCiS6bRpK+VT bI+gzK41MttCg/BKo1g2Zf0DZEQk3qydPz3WoIQfvZfTW/uxG5ca9E8D04AmIa5oZLK0=; Received: from sea.source.kernel.org ([172.234.252.31]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1wiJA8-0008Pm-7q for linux-f2fs-devel@lists.sourceforge.net; Fri, 10 Jul 2026 21:53:36 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id DEFB943CCD; Fri, 10 Jul 2026 21:53:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BDE381F00ACA; Fri, 10 Jul 2026 21:53:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1783720410; bh=bacwDZsOZFP+i+Bl8YQK08roVp2/1oQDKcRl9Y/BMBg=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=Ortp2wtX2bNnnSzSOao5Jx2OTEF/Tk5MQuajBlAyNVNLoJRfnhIv0TUdBRCZmc6gE p/RnFzOhdxUubLz1o0YPqF8KL6o0kNnl6SG0X6306GtlCKcQ98dOce8LOBJ2xSzDAC vFf3+DbYtoeliLAb3vMsUgVTxvP3ngPahCkKGi8rro3SEhjjFPu19pS9Uw1YWKouCZ pkCXlLQQr+LbKlelipVh1MOzN7wOf0lpJ0Fp3Uqmzd0v6BU0cbQ9T3CevbEsn616B3 zguA0fKb8ZrXrzWNUGQqScryx4RGO7hHhrHIuy5RQV3+RuXP+zhUz/tEJWmUMT1a+2 L/zf83kawyWzA== Date: Fri, 10 Jul 2026 17:53:28 -0400 To: Keith Busch Message-ID: <20260710215328.GE1911@quark> References: <20260710210646.3576365-1-kbusch@meta.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20260710210646.3576365-1-kbusch@meta.com> X-Headers-End: 1wiJA8-0008Pm-7q Subject: Re: [f2fs-dev] [PATCHv2 0/5] direct-io file extended attributes X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Eric Biggers via Linux-f2fs-devel Reply-To: Eric Biggers Cc: axboe@kernel.dk, linux-xfs@vger.kernel.org, brauner@kernel.org, aalbersh@kernel.org, cem@kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-block@vger.kernel.org, Keith Busch , tytso@mit.edu, jaegeuk@kernel.org, linux-fsdevel@vger.kernel.org, jack@suse.cz, linux-ext4@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net On Fri, Jul 10, 2026 at 02:06:41PM -0700, Keith Busch via Linux-f2fs-devel wrote: > From: Keith Busch > > The attributes reported through statx are incomplete for applications to > fully know exactly how IO construction is valid or not. The statx call > can report minimum memory alignment and total granularity, but it > doesn't show the underlying gap boundary requirements or max segments > per granule. > > This series adds the minimum to the extended file attributes through > file_getattr. I hear this is the preferred interface for reporting such > things over adding more fields to statx. In order to get everything > under a single syscall, some of the attributes are duplicated from > statx. Okay, in v2 we at least now know that the existing statx UAPI was considered. Could you give a specific real-world example (with the actual values of each parameter) where it's not sufficient? Without that there isn't really any way to evaluate this proposal. - Eric _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel