commit | ccadfa444b34c6ec7bb458eee17fdd8c9a456c63 | [log] [tgz] |
---|---|---|
author | Alex Vesker <valex@mellanox.com> | Thu Jul 12 15:13:09 2018 +0300 |
committer | David S. Miller <davem@davemloft.net> | Thu Jul 12 17:37:12 2018 -0700 |
tree | adb65c4f7fde4d7563889d9f89774c7097c3aaa0 | |
parent | b16ebe925a4400a2ec3dc663c81dce2fd9bf0998 [diff] |
devlink: Add callback to query for snapshot id before snapshot create To restrict the driver with the snapshot ID selection a new callback is introduced for the driver to get the snapshot ID before creating a new snapshot. This will also allow giving the same ID for multiple snapshots taken of different regions on the same time. Signed-off-by: Alex Vesker <valex@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>