On Wed, May 18, 2022 at 07:02:43PM -0700, Eric Biggers wrote: > If you're thinking about about BLKDISCARD and BLKZEROOUT, those are block device > ioctls, so statx() doesn't seem like a great fit for them. There is already a > place to expose block device properties to userspace (/sys/block/$dev/). Direct > I/O is different because direct I/O is not just a feature of block devices but > also of regular files, and it is affected by filesystem-level constraints. Agreed.