commit | cbbfb0ff115159847121afe9c7553bd5c86f6062 | [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 | 77a36c3a69ab97acb59f7a3b95f308612af3c198 | |
parent | bbead745d96cfd51aaa332bdeab300862c7a8061 [diff] |
rbd: store lock cookie In preparation for supporting set_cookie method (or rather set_cookie fallback for older OSDs), store the lock cookie on lock and use it on unlock instead of recalculating from rbd_dev->watch_cookie. Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Reviewed-by: Jason Dillaman <dillaman@redhat.com>