aboutsummaryrefslogtreecommitdiff
path: root/block/blkreplay.c
AgeCommit message (Collapse)AuthorFilesLines
2016-03-30replay: introduce block devices record/replayPavel Dovgalyuk1-0/+160
This patch introduces block driver that implement recording and replaying of block devices' operations. All block completion operations are added to the queue. Queue is flushed at checkpoints and information about processed requests is recorded to the log. In replay phase the queue is matched with events read from the log. Therefore block devices requests are processed deterministically. Signed-off-by: Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru> [ kwolf: Rebased onto modified and already applied part of the series ] Signed-off-by: Kevin Wolf <kwolf@redhat.com>