[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250323064029.GA30848@lst.de>
Date: Sun, 23 Mar 2025 07:40:29 +0100
From: Christoph Hellwig <hch@....de>
To: John Garry <john.g.garry@...cle.com>
Cc: Christoph Hellwig <hch@....de>, alx@...nel.org, brauner@...nel.org,
djwong@...nel.org, dchinner@...hat.com, linux-man@...r.kernel.org,
linux-fsdevel@...r.kernel.org, linux-xfs@...r.kernel.org,
linux-kernel@...r.kernel.org, ojaswin@...ux.ibm.com,
ritesh.list@...il.com, martin.petersen@...cle.com,
linux-api@...r.kernel.org
Subject: Re: [PATCH RFC] statx.2: Add stx_atomic_write_unit_max_opt
On Fri, Mar 21, 2025 at 10:20:21AM +0000, John Garry wrote:
> Coming back to what was discussed about not adding a new flag to fetch this
> limit:
>
> > Does that actually work? Can userspace assume all unknown statx
> > fields are padded to zero?
>
> In cp_statx, we do pre-zero the statx structure. As such, the rule "if
> zero, just use hard limit unit max" seems to hold.
Ok, canwe document this somewhere?
Powered by blists - more mailing lists