On Mon, Feb 26, 2024 at 06:30:14PM -0800, Darrick J. Wong wrote: > From: Darrick J. Wong <djwong@xxxxxxxxxx> > > Create a streamlined function to walk a file's xattrs, without all the > cursor management stuff in the regular listxattr. So given that the Linux xattr interface doesn't have cursors and they are only around for the XFS listattr by handle interface, why can't the normal listxattr syscall also use this cursors-less variant, which probably more efficient? (assuming it is, maybe a little more explanation on why you've added this variant would be useful). No need to hold this series for optimizing regular listxattr, just thinking out loud here.