Search code examples
linuxasynchronoussambacifs

Samba: does current linux client support asynchronous reads?


In the interest of increasing performance, is it possible to read asynchronously from a CIFS mounted file, on linux?

Thanks!!!


Solution

  • Glibc's aio implementation creates threads to do the I/O, so it does not depend on the filesystem type to work. (On the other hand, that also means you can create your own threads instead, without missing out on much.)