diff options
author | 2017-04-13 12:17:38 +0200 | |
---|---|---|
committer | 2017-05-04 09:19:23 +0200 | |
commit | bbead745d96cfd51aaa332bdeab300862c7a8061 (patch) | |
tree | 42814bbd4ace976b27042d519aa4cab401fae78e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | rbd: fix error handling around rbd_init_disk() (diff) | |
download | linux-dev-bbead745d96cfd51aaa332bdeab300862c7a8061.tar.xz linux-dev-bbead745d96cfd51aaa332bdeab300862c7a8061.zip |
rbd: ignore unlock errors
Currently the lock_state is set to UNLOCKED (preventing further I/O),
but RELEASED_LOCK notification isn't sent. Be consistent with userspace
and treat ceph_cls_unlock() errors as the image is unlocked.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions