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
..
2016-10-13 19:48:11 -05:00
2017-03-02 23:11:54 -06:00
2017-04-07 08:04:41 -05:00
2013-11-08 05:57:46 +09:00
2016-12-15 00:21:37 -06:00
2017-01-14 14:58:29 -06:00
2017-03-02 23:13:37 -06:00
2017-04-07 08:04:40 -05:00
2017-04-07 08:04:40 -05:00
2012-07-24 10:25:13 -05:00
2013-09-08 14:54:24 -05:00