Re: [PATCH] aio: Support read/write with non-iter file-ops
From: Al Viro
Date: Thu Jul 18 2019 - 19:17:56 EST
On Thu, Jul 18, 2019 at 04:10:54PM -0700, Bjorn Andersson wrote:
> Implement a wrapper for aio_read()/write() to allow async IO on files
> not implementing the iter version of read/write, such as sysfs. This
> mimics how readv/writev uses non-iter ops in do_loop_readv_writev().
IDGI. How would that IO manage to be async? And what's the point
using aio in such situations in the first place?