{"action":"created","issue":{"url":"https://api.github.com/repos/ceph/ceph/issues/4310","labels_url":"https://api.github.com/repos/ceph/ceph/issues/4310/labels{/name}","comments_url":"https://api.github.com/repos/ceph/ceph/issues/4310/comments","events_url":"https://api.github.com/repos/ceph/ceph/issues/4310/events","html_url":"https://github.com/ceph/ceph/pull/4310","id":67304334,"number":4310,"title":"librbd: notify_resize doesn't notify change to all clients","user":{"login":"wonzhq","id":8264991,"avatar_url":"https://avatars.githubusercontent.com/u/8264991?v=3","gravatar_id":"","url":"https://api.github.com/users/wonzhq","html_url":"https://github.com/wonzhq","followers_url":"https://api.github.com/users/wonzhq/followers","following_url":"https://api.github.com/users/wonzhq/following{/other_user}","gists_url":"https://api.github.com/users/wonzhq/gists{/gist_id}","starred_url":"https://api.github.com/users/wonzhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wonzhq/subscriptions","organizations_url":"https://api.github.com/users/wonzhq/orgs","repos_url":"https://api.github.com/users/wonzhq/repos","events_url":"https://api.github.com/users/wonzhq/events{/privacy}","received_events_url":"https://api.github.com/users/wonzhq/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ceph/ceph/labels/bug%20fix","name":"bug fix","color":"e11d21"},{"url":"https://api.github.com/repos/ceph/ceph/labels/rbd","name":"rbd","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-09T08:06:14Z","updated_at":"2015-04-10T01:16:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ceph/ceph/pulls/4310","html_url":"https://github.com/ceph/ceph/pull/4310","diff_url":"https://github.com/ceph/ceph/pull/4310.diff","patch_url":"https://github.com/ceph/ceph/pull/4310.patch"},"body":"When a resize request is sending to a non lock owner client, it calls\r\nnotify_resize to send a resize request to the lock owner. However, the\r\nlock owner doesn't notify all the clients about this change after\r\ncompleting the request. Should send notify change at the end of the\r\nasync resize request.\r\n\r\nSigned-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>"},"comment":{"url":"https://api.github.com/repos/ceph/ceph/issues/comments/91393825","html_url":"https://github.com/ceph/ceph/pull/4310#issuecomment-91393825","issue_url":"https://api.github.com/repos/ceph/ceph/issues/4310","id":91393825,"user":{"login":"dillaman","id":4739042,"avatar_url":"https://avatars.githubusercontent.com/u/4739042?v=3","gravatar_id":"","url":"https://api.github.com/users/dillaman","html_url":"https://github.com/dillaman","followers_url":"https://api.github.com/users/dillaman/followers","following_url":"https://api.github.com/users/dillaman/following{/other_user}","gists_url":"https://api.github.com/users/dillaman/gists{/gist_id}","starred_url":"https://api.github.com/users/dillaman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dillaman/subscriptions","organizations_url":"https://api.github.com/users/dillaman/orgs","repos_url":"https://api.github.com/users/dillaman/repos","events_url":"https://api.github.com/users/dillaman/events{/privacy}","received_events_url":"https://api.github.com/users/dillaman/received_events","type":"User","site_admin":false},"created_at":"2015-04-10T01:16:41Z","updated_at":"2015-04-10T01:16:41Z","body":"@wonzhq Do you have a test case that illustrate the problem?  If there is a problem w/ resize, there would also be a problem w/ flatten and snap_create.  The invoking client (the non-lock owner) should be sending out the notification when it receives the OK from the lock owner -- which would cause all clients to refresh (lock owner and non-lock owners)."}}