dm: add log writes target
authorJosef Bacik <jbacik@fb.com>
Fri, 20 Mar 2015 14:50:37 +0000 (10:50 -0400)
committerMike Snitzer <snitzer@redhat.com>
Wed, 15 Apr 2015 16:10:24 +0000 (12:10 -0400)
commit0e9cebe724597a76ab1b0ebc0a21e16f7db11b47
tree8217c6cea86697a985a7f88ff4240bb93277db84
parent7f61f5a022101e0c38c3cff2ef9ace9c9c86dbfb
dm: add log writes target

Introduce a new target that is meant for file system developers to test file
system integrity at particular points in the life of a file system.  We capture
all write requests and associated data and log them to a separate device
for later replay.  There is a userspace utility to do this replay.  The
idea behind this is to give file system developers a tool to verify that
the file system is always consistent.

Signed-off-by: Josef Bacik <jbacik@fb.com>
Reviewed-by: Zach Brown <zab@zabbo.net>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Documentation/device-mapper/log-writes.txt [new file with mode: 0644]
drivers/md/Kconfig
drivers/md/Makefile
drivers/md/dm-log-writes.c [new file with mode: 0644]