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:
@@ -203,7 +203,7 @@ struct nvme_qpair {
|
|||||||
|
|
||||||
struct nvme_tracker **act_tr;
|
struct nvme_tracker **act_tr;
|
||||||
|
|
||||||
struct mtx lock __aligned(CACHE_LINE_SIZE);
|
struct mtx_padalign lock;
|
||||||
|
|
||||||
} __aligned(CACHE_LINE_SIZE);
|
} __aligned(CACHE_LINE_SIZE);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user