Am 08.03.2016 um 13:47 hat Kevin Wolf geschrieben: > BlockBackends support a few different interfaces for reads and writes. Until > now they used to forward the requests directly to the BDS layer, which > implemented wrappers around one central common read/write function that > contained the actual implementation of features provided by the block layer. > > This only works as long as none of the features are actually on the > BlockBackend level. As it happens, we have features (writethrough cache, I/O > throttling) that are currently implemented in the BDS, but must move to the > BB. > > As a preparation, this series introduces the mapping of the existing APIs to a > single coroutine based preadv/pwritev function (as we already have on the BDS > level) to the BB layer. The BDS version of the emulation can't go away just > yet > because there are internal users of them, but the goal is to remove them in > the > long term. > > Depends on Max's "blockdev: Further BlockBackend work".
Applied to the block branch. Kevin