]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4eeafd30ec5eeb2f52e6823d9d5ef6177d988dcb
tree8217c6cea86697a985a7f88ff4240bb93277db84
parenta0b4c133efaba52cb45fe9b06a6f12d6721b10a0
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]