{"action":"created","issue":{"url":"https://api.github.com/repos/ceph/ceph/issues/6026","labels_url":"https://api.github.com/repos/ceph/ceph/issues/6026/labels{/name}","comments_url":"https://api.github.com/repos/ceph/ceph/issues/6026/comments","events_url":"https://api.github.com/repos/ceph/ceph/issues/6026/events","html_url":"https://github.com/ceph/ceph/pull/6026","id":107673195,"number":6026,"title":"rbd:refuse lock the image when features not support exclusive","user":{"login":"flywayway","id":13265413,"avatar_url":"https://avatars.githubusercontent.com/u/13265413?v=3","gravatar_id":"","url":"https://api.github.com/users/flywayway","html_url":"https://github.com/flywayway","followers_url":"https://api.github.com/users/flywayway/followers","following_url":"https://api.github.com/users/flywayway/following{/other_user}","gists_url":"https://api.github.com/users/flywayway/gists{/gist_id}","starred_url":"https://api.github.com/users/flywayway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flywayway/subscriptions","organizations_url":"https://api.github.com/users/flywayway/orgs","repos_url":"https://api.github.com/users/flywayway/repos","events_url":"https://api.github.com/users/flywayway/events{/privacy}","received_events_url":"https://api.github.com/users/flywayway/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ceph/ceph/labels/rbd","name":"rbd","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-22T09:11:21Z","updated_at":"2015-09-23T01:47:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ceph/ceph/pulls/6026","html_url":"https://github.com/ceph/ceph/pull/6026","diff_url":"https://github.com/ceph/ceph/pull/6026.diff","patch_url":"https://github.com/ceph/ceph/pull/6026.patch"},"body":" When we add lock to image, we should check if the image features support exclusive. \r\nThere will lock fail if the image format is 1 or image format is 2 but features not support exclusive."},"comment":{"url":"https://api.github.com/repos/ceph/ceph/issues/comments/142470120","html_url":"https://github.com/ceph/ceph/pull/6026#issuecomment-142470120","issue_url":"https://api.github.com/repos/ceph/ceph/issues/6026","id":142470120,"user":{"login":"flywayway","id":13265413,"avatar_url":"https://avatars.githubusercontent.com/u/13265413?v=3","gravatar_id":"","url":"https://api.github.com/users/flywayway","html_url":"https://github.com/flywayway","followers_url":"https://api.github.com/users/flywayway/followers","following_url":"https://api.github.com/users/flywayway/following{/other_user}","gists_url":"https://api.github.com/users/flywayway/gists{/gist_id}","starred_url":"https://api.github.com/users/flywayway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flywayway/subscriptions","organizations_url":"https://api.github.com/users/flywayway/orgs","repos_url":"https://api.github.com/users/flywayway/repos","events_url":"https://api.github.com/users/flywayway/events{/privacy}","received_events_url":"https://api.github.com/users/flywayway/received_events","type":"User","site_admin":false},"created_at":"2015-09-23T01:47:10Z","updated_at":"2015-09-23T01:47:10Z","body":"@dillaman Can you give me an example of how the librbd lock is used. "}}