dm vdo dedupe: switch to using int-map instead of pointer-map
authorBruce Johnston <bjohnsto@redhat.com>
Mon, 20 Nov 2023 22:29:54 +0000 (17:29 -0500)
committerMike Snitzer <snitzer@kernel.org>
Tue, 20 Feb 2024 18:43:16 +0000 (13:43 -0500)
commitdb6b0a7ffeef58df70290b5d52bc469f7d9021d4
treedc90bc9f9fec8b04dd77f2ce58cfebc0cfbb29e2
parenta4bba246ecdea4bf73602dcedbc9091656d63872
dm vdo dedupe: switch to using int-map instead of pointer-map

Use get_unaligned_le64() on the hash lock's record name to serve as
the key to use with the int hash-map.

Switching to using int hash-map removes the only consumer of pointer
hash-map, as such it is removed.

Reviewed-by: Matthew Sakai <msakai@redhat.com>
Signed-off-by: Bruce Johnston <bjohnsto@redhat.com>
Signed-off-by: Matthew Sakai <msakai@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
drivers/md/dm-vdo/dedupe.c
drivers/md/dm-vdo/dedupe.h
drivers/md/dm-vdo/pointer-map.c [deleted file]
drivers/md/dm-vdo/pointer-map.h [deleted file]