commit | bbead745d96cfd51aaa332bdeab300862c7a8061 | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <idryomov@gmail.com> | Thu Apr 13 12:17:38 2017 +0200 |
committer | Ilya Dryomov <idryomov@gmail.com> | Thu May 04 09:19:23 2017 +0200 |
tree | 42814bbd4ace976b27042d519aa4cab401fae78e | |
parent | 5769ed0cb12dcd135251e546863196cec0b58e34 [diff] |
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>