dm vdo: implement external deduplication index interface
authorMatthew Sakai <msakai@redhat.com>
Fri, 17 Nov 2023 00:57:44 +0000 (19:57 -0500)
committerMike Snitzer <snitzer@kernel.org>
Tue, 20 Feb 2024 18:43:14 +0000 (13:43 -0500)
commit8ce89dde122b4e3913552b68983e95e606710837
tree9cdaa8f36d384b62f755cc665c52047092532814
parent766130e8a9f358652a43dd7ab3edfc6fca5b9b73
dm vdo: implement external deduplication index interface

The deduplication index interface for index clients includes the
deduplication request and index session structures. This is the interface
that the rest of the vdo target uses to make requests, receive responses,
and collect statistics.

This patch also adds sysfs nodes for inspecting various index properties at
runtime.

Co-developed-by: J. corwin Coburn <corwin@hurlbutnet.net>
Signed-off-by: J. corwin Coburn <corwin@hurlbutnet.net>
Co-developed-by: Michael Sclafani <dm-devel@lists.linux.dev>
Signed-off-by: Michael Sclafani <dm-devel@lists.linux.dev>
Co-developed-by: Thomas Jaskiewicz <tom@jaskiewicz.us>
Signed-off-by: Thomas Jaskiewicz <tom@jaskiewicz.us>
Co-developed-by: John Wiele <jwiele@redhat.com>
Signed-off-by: John Wiele <jwiele@redhat.com>
Signed-off-by: Matthew Sakai <msakai@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
drivers/md/dm-vdo/index-session.c [new file with mode: 0644]
drivers/md/dm-vdo/index-session.h [new file with mode: 0644]
drivers/md/dm-vdo/uds-sysfs.c [new file with mode: 0644]
drivers/md/dm-vdo/uds-sysfs.h [new file with mode: 0644]
drivers/md/dm-vdo/uds.h [new file with mode: 0644]