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>
Showing
- Documentation/device-mapper/log-writes.txt 140 additions, 0 deletionsDocumentation/device-mapper/log-writes.txt
- drivers/md/Kconfig 16 additions, 0 deletionsdrivers/md/Kconfig
- drivers/md/Makefile 1 addition, 0 deletionsdrivers/md/Makefile
- drivers/md/dm-log-writes.c 825 additions, 0 deletionsdrivers/md/dm-log-writes.c
Documentation/device-mapper/log-writes.txt
0 → 100644
drivers/md/dm-log-writes.c
0 → 100644
This diff is collapsed.
Please register or sign in to comment