diff options
author | 2017-04-25 11:52:29 -0700 | |
---|---|---|
committer | 2017-05-02 14:57:34 -0500 | |
commit | ccf7f4088af2dd6733bfcbc40b488e2484345ae5 (patch) | |
tree | e36e26b596216f44e08266913ae9fd5d7a0ebc64 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cifs: fix IPv6 link local, with scope id, address parsing (diff) | |
download | linux-rng-ccf7f4088af2dd6733bfcbc40b488e2484345ae5.tar.xz linux-rng-ccf7f4088af2dd6733bfcbc40b488e2484345ae5.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions