blob: inline _spdk_blob_calculate_lba_and_lba_count()
This is called on hot path for I/O, inline it. Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: Iec40033eac19f2c66c2984623acb5e157a5ffe05 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1723 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
c34f224f56
commit
a6587c7e82
@ -2343,7 +2343,7 @@ _spdk_bs_allocate_and_copy_cluster(struct spdk_blob *blob,
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
static inline void
|
||||
_spdk_blob_calculate_lba_and_lba_count(struct spdk_blob *blob, uint64_t io_unit, uint64_t length,
|
||||
uint64_t *lba, uint32_t *lba_count)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user