blob: Don't look at cluster map prior to checking frozen
Change-Id: I3858c637d421b58e74fa5573d257e59fed92824a Signed-off-by: Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/452268 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
This commit is contained in:
parent
5316b12e5e
commit
e740ba637c
@ -2121,11 +2121,10 @@ _spdk_blob_request_submit_rw_iov(struct spdk_blob *blob, struct spdk_io_channel
|
||||
uint32_t lba_count;
|
||||
uint64_t lba;
|
||||
|
||||
_spdk_blob_calculate_lba_and_lba_count(blob, offset, length, &lba, &lba_count);
|
||||
|
||||
cpl.type = SPDK_BS_CPL_TYPE_BLOB_BASIC;
|
||||
cpl.u.blob_basic.cb_fn = cb_fn;
|
||||
cpl.u.blob_basic.cb_arg = cb_arg;
|
||||
|
||||
if (blob->frozen_refcnt) {
|
||||
/* This blob I/O is frozen */
|
||||
enum spdk_blob_op_type op_type;
|
||||
@ -2144,6 +2143,8 @@ _spdk_blob_request_submit_rw_iov(struct spdk_blob *blob, struct spdk_io_channel
|
||||
return;
|
||||
}
|
||||
|
||||
_spdk_blob_calculate_lba_and_lba_count(blob, offset, length, &lba, &lba_count);
|
||||
|
||||
if (read) {
|
||||
spdk_bs_sequence_t *seq;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user