Re: [PATCH v2 00/16] block atomic writes

From: Christoph Hellwig
Date: Thu Jan 11 2024 - 11:15:45 EST


On Thu, Jan 11, 2024 at 04:11:38PM +0000, John Garry wrote:
> Could we just error the SETXATTR ioctl when FS_XFLAG_FORCEALIGN is not set
> (and it is required)? The problem is that ioctl reports -EINVAL for any
> such errors, so hard for the user to know the issue...

Sure. Pick a good unique error code, though.