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:
parent
43e545e8e0
commit
33469f1011
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user