Mudit Agarwal
7be8bbfe81
rbd: additional error checking in GetPoolMetadata, SetPoolMetadata and RemovePoolMetadata
...
added a check to validate ioctx in all the three *PoolMetadata functions
Signed-off-by: Mudit Agarwal <muagarwa@redhat.com>
2020-06-15 13:20:37 -04:00
Mudit Agarwal
a2c1c2bb34
rbd: add wrapper for rbd_pool_metadata_remove()
...
Add wrapper for rbd_pool_metadata_remove() function which removes pool
metadata associated with a given key.
Signed-off-by: Mudit Agarwal <muagarwa@redhat.com>
2020-06-10 11:58:51 -04:00
Mudit Agarwal
d999f78e2e
rbd: add tests for GetPoolMetadata() and SetPoolMetadata()
...
Added test cases for GetPoolMetadata() func and SetPoolMetadata() func.
Signed-off-by: Mudit Agarwal <muagarwa@redhat.com>
2020-06-10 11:58:51 -04:00