numam-spdk/lib/blob
Tomasz Zawadzki b3348624e7 blob: add pages_per_cluster_shift
Operation of locating right lba from cluster map
is done on I/O path. Instead of division and multiplication,
perform bit shift operation.

Bit shift is only used when pages per cluster is power of 2.

Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: Ic3ed7ec0a82867a8a4bc6391785b9d40c800aacb
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1724
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2020-04-24 15:45:21 +00:00
..
blob_bs_dev.c lib/blob: remove spdk_ from non-public APIs 2020-04-15 22:10:08 +00:00
blobstore.c blob: add pages_per_cluster_shift 2020-04-24 15:45:21 +00:00
blobstore.h blob: add pages_per_cluster_shift 2020-04-24 15:45:21 +00:00
Makefile lib/blob: add a map file. 2020-04-15 22:10:08 +00:00
request.c lib/blob: remove some unused internal APIs 2020-04-15 22:10:08 +00:00
request.h lib/blob: remove some unused internal APIs 2020-04-15 22:10:08 +00:00
spdk_blob.map lib/blob: add a map file. 2020-04-15 22:10:08 +00:00
zeroes.c lib/blob: remove spdk_ from non-public APIs 2020-04-15 22:10:08 +00:00