Re: [PATCH 07/13] aio: enabled thread based async fsync

From: Linus Torvalds
Date: Mon Jan 11 2016 - 21:38:26 EST


On Mon, Jan 11, 2016 at 6:25 PM, Dave Chinner <david@xxxxxxxxxxxxx> wrote:
>
> That's a different interface.

So is openat. So is readahead.

My point is that this idiotic "let's expose special cases" must end.
It's broken. It inevitably only exposes a subset of what different
people would want.

Making "aio_read()" and friends a special interface had historical
reasons for it. But expanding willy-nilly on that model does not.

Linus