commit | 63976d4f4e475a771c1e9e07e05572abe44e49fe | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Thu May 16 11:05:52 2019 +0200 |
committer | Harald Welte <laforge@gnumonks.org> | Thu May 16 11:32:28 2019 +0200 |
tree | d8fcd6369c982a338cf217af06c624d2974d8f84 | |
parent | e73a1df34092b88c7a577640810afebdfaf622bc [diff] |
ccid: Fix AIO handling of IN and IRQ endpoint Even though functionfs forces us to use Linux AIO, we actually don't want to submit multiple concurrent pendign writes, but we simply want to emulate the poll/select interface. So we must introduce a write (message) queue for the IN and IRQ endpoint, and we must always only pull one message off the queue, submit the iocb. On completion, we dequeue the next message, and so on. Change-Id: I8f7026f13cf542185cfec4d4780c64965d1706e2