diff options
author | Yishai Hadas | 2022-12-06 10:34:27 +0200 |
---|---|---|
committer | Alex Williamson | 2022-12-06 12:36:44 -0700 |
commit | 0e7caa65d707b93fbb4322c6313f739fa9103dfa (patch) | |
tree | 4524ccc75ef1e8fdba06aecf25dc9cc8d9c2b7b2 /.clang-format | |
parent | 4db52602a6074e9cc523500b8304600ff63e7b85 (diff) |
vfio/mlx5: Enforce a single SAVE command at a time
Enforce a single SAVE command at a time.
As the SAVE command is an asynchronous one, we must enforce running only
a single command at a time.
This will preserve ordering between multiple calls and protect from
races on the migration file data structure.
This is a must for the next patches from the series where as part of
PRE_COPY we may have multiple images to be saved and multiple SAVE
commands may be issued from different flows.
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
Link: https://lore.kernel.org/r/20221206083438.37807-4-yishaih@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions