nvme: use mtx_padaalign instead of mtx + alignment attribute

nvme driver predates, it seems, mtx_padalign. Modernize.

Sponsored by:		Netflix
This commit is contained in:
Warner Losh 2023-08-14 16:31:37 -06:00
parent 43e545e8e0
commit 33469f1011

View File

@ -203,7 +203,7 @@ struct nvme_qpair {
struct nvme_tracker **act_tr;
struct mtx lock __aligned(CACHE_LINE_SIZE);
struct mtx_padalign lock;
} __aligned(CACHE_LINE_SIZE);