summaryrefslogtreecommitdiffstats
path: root/net/8021q
diff options
context:
space:
mode:
authorMatias Bjørling2016-01-12 07:49:21 +0100
committerJens Axboe2016-01-12 16:21:16 +0100
commit91276162de9476b8ff32d9452e849210e5dd09e9 (patch)
tree53337c60f7d863b1ab733f9bcd4964da818f9057 /net/8021q
parentlightnvm: refactor rqd ppa list into set/free (diff)
downloadkernel-qcow2-linux-91276162de9476b8ff32d9452e849210e5dd09e9.tar.gz
kernel-qcow2-linux-91276162de9476b8ff32d9452e849210e5dd09e9.tar.xz
kernel-qcow2-linux-91276162de9476b8ff32d9452e849210e5dd09e9.zip
lightnvm: refactor end_io functions for sync
To implement sync I/O support within the LightNVM core, the end_io functions are refactored to take an end_io function pointer instead of testing for initialized media manager, followed by calling its end_io function. Sync I/O can then be implemented using a callback that signal I/O completion. This is similar to the logic found in blk_to_execute_io(). By implementing it this way, the underlying device I/Os submission logic is abstracted away from core, targets, and media managers. Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'net/8021q')
0 files changed, 0 insertions, 0 deletions