diff options
| author | Yishai Hadas <yishaih@nvidia.com> | 2022-12-06 11:34:27 +0300 |
|---|---|---|
| committer | Alex Williamson <alex.williamson@redhat.com> | 2022-12-06 22:36:44 +0300 |
| commit | 0e7caa65d707b93fbb4322c6313f739fa9103dfa (patch) | |
| tree | 4524ccc75ef1e8fdba06aecf25dc9cc8d9c2b7b2 /lib/crypto/mpi/mpi-sub-ui.c | |
| parent | 4db52602a6074e9cc523500b8304600ff63e7b85 (diff) | |
| download | linux-0e7caa65d707b93fbb4322c6313f739fa9103dfa.tar.xz | |
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 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
