Re: [PATCH 3/8] aio: add an interface to submit aio from the kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Why isn't this just a static inline in a header, like the
> io_prep_pread/pwrite methods in libaio.h?  Not a big deal, just curious.

Honestly, I didn't give it much thought -- I just threw it together this
way.  I'd be happy either way, though I guess I tend to prefer to avoid
inlining.

>> +int aio_kernel_submit(struct kiocb *iocb)
> 
> Why are you limiting this to just 1 iocb at a time?

Well, the current user will only be issuing one at a time.  We can worry
about adding that complexity when someone can justify it :).

- z
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux