Skip to content

Commit 1384c32

Browse files
authored
Merge branch 'v24.05.x' into feature-aio-multi-files
2 parents e98250e + c6bc59e commit 1384c32

24 files changed

+300
-213
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Changelog
22

3+
## v24.05.1: (Upcoming Release)
4+
35
## v24.05
46

57
### accel

include/spdk/version.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ extern "C" {
3030
* Patch level is incremented on maintenance branch releases and reset to 0 for each
3131
* new major.minor release.
3232
*/
33-
#define SPDK_VERSION_PATCH 0
33+
#define SPDK_VERSION_PATCH 1
3434

3535
/**
3636
* Version string suffix.
3737
*/
38-
#define SPDK_VERSION_SUFFIX ""
38+
#define SPDK_VERSION_SUFFIX "-pre"
3939

4040
/**
4141
* Single numeric value representing a version number for compile-time comparisons.

lib/nvme/nvme.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -706,9 +706,9 @@ nvme_ctrlr_poll_internal(struct spdk_nvme_ctrlr *ctrlr,
706706
/* Controller failed to initialize. */
707707
TAILQ_REMOVE(&probe_ctx->init_ctrlrs, ctrlr, tailq);
708708
SPDK_ERRLOG("Failed to initialize SSD: %s\n", ctrlr->trid.traddr);
709-
nvme_robust_mutex_lock(&ctrlr->ctrlr_lock);
709+
nvme_ctrlr_lock(ctrlr);
710710
nvme_ctrlr_fail(ctrlr, false);
711-
nvme_robust_mutex_unlock(&ctrlr->ctrlr_lock);
711+
nvme_ctrlr_unlock(ctrlr);
712712
nvme_ctrlr_destruct(ctrlr);
713713
return;
714714
}

lib/nvme/nvme_auth.c

+5-5
Original file line numberDiff line numberDiff line change
@@ -192,19 +192,19 @@ nvme_auth_get_seqnum(struct spdk_nvme_qpair *qpair)
192192
uint32_t seqnum;
193193
int rc;
194194

195-
nvme_robust_mutex_lock(&ctrlr->ctrlr_lock);
195+
nvme_ctrlr_lock(ctrlr);
196196
if (ctrlr->auth_seqnum == 0) {
197197
rc = RAND_bytes((void *)&ctrlr->auth_seqnum, sizeof(ctrlr->auth_seqnum));
198198
if (rc != 1) {
199-
nvme_robust_mutex_unlock(&ctrlr->ctrlr_lock);
199+
nvme_ctrlr_unlock(ctrlr);
200200
return 0;
201201
}
202202
}
203203
if (++ctrlr->auth_seqnum == 0) {
204204
ctrlr->auth_seqnum = 1;
205205
}
206206
seqnum = ctrlr->auth_seqnum;
207-
nvme_robust_mutex_unlock(&ctrlr->ctrlr_lock);
207+
nvme_ctrlr_unlock(ctrlr);
208208

209209
return seqnum;
210210
}
@@ -1231,9 +1231,9 @@ nvme_fabric_qpair_authenticate_async(struct spdk_nvme_qpair *qpair)
12311231
assert(qpair->poll_status == NULL);
12321232
qpair->poll_status = status;
12331233

1234-
nvme_robust_mutex_lock(&ctrlr->ctrlr_lock);
1234+
nvme_ctrlr_lock(ctrlr);
12351235
auth->tid = ctrlr->auth_tid++;
1236-
nvme_robust_mutex_unlock(&ctrlr->ctrlr_lock);
1236+
nvme_ctrlr_unlock(ctrlr);
12371237

12381238
nvme_auth_set_state(qpair, NVME_QPAIR_AUTH_STATE_NEGOTIATE);
12391239

0 commit comments

Comments
 (0)