Re: [RFC PATCH v3 09/11] xfs: Implement RWF_NOSERIAL to parallelize RWF_WRITETHROUGH writes

From: Pankaj Raghav (Samsung)

Date: Mon Aug 17 2026 - 09:33:29 EST


> }
>
> + /*
> + * Writethrough implies non-serial writes ie writes can go
> + * parallelly.
> + */
> + if (flags & RWF_WRITETHROUGH)
> + kiocb_flags |= IOCB_NOSERIAL;
> +

>From a user perspective, shouldn't this be an explicit user flag instead
of implicitly enabling for all RWF_WRITETHROUGH?

Power users who would want performance over POSIX compliance can enable
this but it should not be the other way around IMO.

--
Pankaj