Pavel Shilovsky ccf7f4088a CIFS: Add asynchronous context to support kernel AIO
Currently the code doesn't recognize asynchronous calls passed
by io_submit() and processes all calls synchronously. This is not
what kernel AIO expects. This patch introduces a new async context
that keeps track of all issued i/o requests and moves a response
collecting procedure to a separate thread. This allows to return
to a caller immediately for async calls and call iocb->ki_complete()
once all requests are completed. For sync calls the current thread
simply waits until all requests are completed.

Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Steve French <smfrench@gmail.com>
2017-05-02 14:57:34 -05:00
..
2017-04-20 12:09:55 -06:00
2017-04-20 12:09:55 -06:00
2017-02-27 18:43:46 -08:00
2017-04-20 12:09:55 -06:00
2017-04-21 13:57:32 -04:00
2017-02-27 18:43:46 -08:00
2017-04-17 12:52:27 -04:00
2017-02-27 18:43:46 -08:00
2017-02-27 18:43:46 -08:00
2017-04-19 15:56:24 -07:00