]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/os: Don't limit the amount of returned keys per omap get call 44418/head
authorAmnon Hanuhov <AmnonSWE@gmail.com>
Sat, 23 Apr 2022 11:27:08 +0000 (14:27 +0300)
committerAmnon Hanuhov <AmnonSWE@gmail.com>
Sat, 23 Apr 2022 12:24:12 +0000 (15:24 +0300)
commitfcf0db1e8f9a7eafe1f2e5f77f1e1d6fdbeba0b5
tree6b29cd6efc17321c4c64074ea810538138532a74
parent29941e306fc04d9b33ff6d68921c92b4f4a09512
crimson/os: Don't limit the amount of returned keys per omap get call

Users of `FuturizedStore::omap_get_values()` expect to get all the keys
that are currently in the omap, but behind the scenes we were limiting
`CyanStore::omap_get_values()` to return only a hardcoded number of values,
specifically `MAX_KEYS_PER_OMAP_GET_CALL` which is 32.

Signed-off-by: Amnon Hanuhov <AmnonSWE@gmail.com>
src/crimson/os/cyanstore/cyan_store.cc
src/crimson/os/cyanstore/cyan_store.h