{"action":"opened","number":5870,"pull_request":{"url":"https://api.github.com/repos/ceph/ceph/pulls/5870","id":44662958,"html_url":"https://github.com/ceph/ceph/pull/5870","diff_url":"https://github.com/ceph/ceph/pull/5870.diff","patch_url":"https://github.com/ceph/ceph/pull/5870.patch","issue_url":"https://api.github.com/repos/ceph/ceph/issues/5870","number":5870,"state":"open","locked":false,"title":"osd:the fuction osd::shutdown Lock twice.","user":{"login":"s09816","id":13491440,"avatar_url":"https://avatars.githubusercontent.com/u/13491440?v=3","gravatar_id":"","url":"https://api.github.com/users/s09816","html_url":"https://github.com/s09816","followers_url":"https://api.github.com/users/s09816/followers","following_url":"https://api.github.com/users/s09816/following{/other_user}","gists_url":"https://api.github.com/users/s09816/gists{/gist_id}","starred_url":"https://api.github.com/users/s09816/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s09816/subscriptions","organizations_url":"https://api.github.com/users/s09816/orgs","repos_url":"https://api.github.com/users/s09816/repos","events_url":"https://api.github.com/users/s09816/events{/privacy}","received_events_url":"https://api.github.com/users/s09816/received_events","type":"User","site_admin":false},"body":"when i test ceph ,i see the following log info, i find that OSD::ms_dispatch has called osd_lock.Lock(),then the fuction osd::shutdown called osd_lock.Lock() again.\r\n2015-09-09 16:47:27.723271 7fb5debf8700 -1 common/Mutex.cc: In function 'void Mu\r\ntex::Lock(bool)' thread 7fb5debf8700 time 2015-09-09 16:47:27.718511            \r\ncommon/Mutex.cc: 95: FAILED assert(r == 0)                                      \r\n                                                              15377,0-1     57% \r\n ceph version 0.94.2 (5fb85614ca8f354284c713a2f9c610860720bbf3)                 \r\n 1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x8b) \r\n[0xbc2b8b]                                                    15379,2       57% \r\n 2: (Mutex::Lock(bool)+0x105) [0xb737b5]                                        \r\n 3: (OSD::shutdown()+0x55) [0x687805]                                           \r\n 4: (OSD::handle_osd_map(MOSDMap*)+0x1c0f) [0x6bf6ff]         15382,2       57% \r\n 5: (OSD::_dispatch(Message*)+0x3eb) [0x6c197b]                                 \r\n 6: (OSD::ms_dispatch(Message*)+0x257) [0x6c1e87]                               \r\n\r\nSigned-off-by: Lu Shi <shi.lu@h3c.com>","created_at":"2015-09-10T12:47:42Z","updated_at":"2015-09-10T12:47:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ceph/ceph/pulls/5870/commits","review_comments_url":"https://api.github.com/repos/ceph/ceph/pulls/5870/comments","review_comment_url":"https://api.github.com/repos/ceph/ceph/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ceph/ceph/issues/5870/comments","statuses_url":"https://api.github.com/repos/ceph/ceph/statuses/d7d2c704216487127fc5d078442ce639ac03a996","head":{"label":"s09816:master","ref":"master","sha":"d7d2c704216487127fc5d078442ce639ac03a996","user":{"login":"s09816","id":13491440,"avatar_url":"https://avatars.githubusercontent.com/u/13491440?v=3","gravatar_id":"","url":"https://api.github.com/users/s09816","html_url":"https://github.com/s09816","followers_url":"https://api.github.com/users/s09816/followers","following_url":"https://api.github.com/users/s09816/following{/other_user}","gists_url":"https://api.github.com/users/s09816/gists{/gist_id}","starred_url":"https://api.github.com/users/s09816/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s09816/subscriptions","organizations_url":"https://api.github.com/users/s09816/orgs","repos_url":"https://api.github.com/users/s09816/repos","events_url":"https://api.github.com/users/s09816/events{/privacy}","received_events_url":"https://api.github.com/users/s09816/received_events","type":"User","site_admin":false},"repo":{"id":39667836,"name":"ceph","full_name":"s09816/ceph","owner":{"login":"s09816","id":13491440,"avatar_url":"https://avatars.githubusercontent.com/u/13491440?v=3","gravatar_id":"","url":"https://api.github.com/users/s09816","html_url":"https://github.com/s09816","followers_url":"https://api.github.com/users/s09816/followers","following_url":"https://api.github.com/users/s09816/following{/other_user}","gists_url":"https://api.github.com/users/s09816/gists{/gist_id}","starred_url":"https://api.github.com/users/s09816/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s09816/subscriptions","organizations_url":"https://api.github.com/users/s09816/orgs","repos_url":"https://api.github.com/users/s09816/repos","events_url":"https://api.github.com/users/s09816/events{/privacy}","received_events_url":"https://api.github.com/users/s09816/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/s09816/ceph","description":"Ceph is a distributed object, block, and file storage platform ","fork":true,"url":"https://api.github.com/repos/s09816/ceph","forks_url":"https://api.github.com/repos/s09816/ceph/forks","keys_url":"https://api.github.com/repos/s09816/ceph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/s09816/ceph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/s09816/ceph/teams","hooks_url":"https://api.github.com/repos/s09816/ceph/hooks","issue_events_url":"https://api.github.com/repos/s09816/ceph/issues/events{/number}","events_url":"https://api.github.com/repos/s09816/ceph/events","assignees_url":"https://api.github.com/repos/s09816/ceph/assignees{/user}","branches_url":"https://api.github.com/repos/s09816/ceph/branches{/branch}","tags_url":"https://api.github.com/repos/s09816/ceph/tags","blobs_url":"https://api.github.com/repos/s09816/ceph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/s09816/ceph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/s09816/ceph/git/refs{/sha}","trees_url":"https://api.github.com/repos/s09816/ceph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/s09816/ceph/statuses/{sha}","languages_url":"https://api.github.com/repos/s09816/ceph/languages","stargazers_url":"https://api.github.com/repos/s09816/ceph/stargazers","contributors_url":"https://api.github.com/repos/s09816/ceph/contributors","subscribers_url":"https://api.github.com/repos/s09816/ceph/subscribers","subscription_url":"https://api.github.com/repos/s09816/ceph/subscription","commits_url":"https://api.github.com/repos/s09816/ceph/commits{/sha}","git_commits_url":"https://api.github.com/repos/s09816/ceph/git/commits{/sha}","comments_url":"https://api.github.com/repos/s09816/ceph/comments{/number}","issue_comment_url":"https://api.github.com/repos/s09816/ceph/issues/comments{/number}","contents_url":"https://api.github.com/repos/s09816/ceph/contents/{+path}","compare_url":"https://api.github.com/repos/s09816/ceph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/s09816/ceph/merges","archive_url":"https://api.github.com/repos/s09816/ceph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/s09816/ceph/downloads","issues_url":"https://api.github.com/repos/s09816/ceph/issues{/number}","pulls_url":"https://api.github.com/repos/s09816/ceph/pulls{/number}","milestones_url":"https://api.github.com/repos/s09816/ceph/milestones{/number}","notifications_url":"https://api.github.com/repos/s09816/ceph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/s09816/ceph/labels{/name}","releases_url":"https://api.github.com/repos/s09816/ceph/releases{/id}","created_at":"2015-07-25T01:35:01Z","updated_at":"2015-07-25T01:35:16Z","pushed_at":"2015-09-10T12:38:01Z","git_url":"git://github.com/s09816/ceph.git","ssh_url":"git@github.com:s09816/ceph.git","clone_url":"https://github.com/s09816/ceph.git","svn_url":"https://github.com/s09816/ceph","homepage":"http://ceph.com","size":133151,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ceph:master","ref":"master","sha":"c4401ad60e27d67f0b38529b5471dc7e00f92651","user":{"login":"ceph","id":1015767,"avatar_url":"https://avatars.githubusercontent.com/u/1015767?v=3","gravatar_id":"","url":"https://api.github.com/users/ceph","html_url":"https://github.com/ceph","followers_url":"https://api.github.com/users/ceph/followers","following_url":"https://api.github.com/users/ceph/following{/other_user}","gists_url":"https://api.github.com/users/ceph/gists{/gist_id}","starred_url":"https://api.github.com/users/ceph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceph/subscriptions","organizations_url":"https://api.github.com/users/ceph/orgs","repos_url":"https://api.github.com/users/ceph/repos","events_url":"https://api.github.com/users/ceph/events{/privacy}","received_events_url":"https://api.github.com/users/ceph/received_events","type":"Organization","site_admin":false},"repo":{"id":2310495,"name":"ceph","full_name":"ceph/ceph","owner":{"login":"ceph","id":1015767,"avatar_url":"https://avatars.githubusercontent.com/u/1015767?v=3","gravatar_id":"","url":"https://api.github.com/users/ceph","html_url":"https://github.com/ceph","followers_url":"https://api.github.com/users/ceph/followers","following_url":"https://api.github.com/users/ceph/following{/other_user}","gists_url":"https://api.github.com/users/ceph/gists{/gist_id}","starred_url":"https://api.github.com/users/ceph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceph/subscriptions","organizations_url":"https://api.github.com/users/ceph/orgs","repos_url":"https://api.github.com/users/ceph/repos","events_url":"https://api.github.com/users/ceph/events{/privacy}","received_events_url":"https://api.github.com/users/ceph/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ceph/ceph","description":"Ceph is a distributed object, block, and file storage platform ","fork":false,"url":"https://api.github.com/repos/ceph/ceph","forks_url":"https://api.github.com/repos/ceph/ceph/forks","keys_url":"https://api.github.com/repos/ceph/ceph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ceph/ceph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ceph/ceph/teams","hooks_url":"https://api.github.com/repos/ceph/ceph/hooks","issue_events_url":"https://api.github.com/repos/ceph/ceph/issues/events{/number}","events_url":"https://api.github.com/repos/ceph/ceph/events","assignees_url":"https://api.github.com/repos/ceph/ceph/assignees{/user}","branches_url":"https://api.github.com/repos/ceph/ceph/branches{/branch}","tags_url":"https://api.github.com/repos/ceph/ceph/tags","blobs_url":"https://api.github.com/repos/ceph/ceph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ceph/ceph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ceph/ceph/git/refs{/sha}","trees_url":"https://api.github.com/repos/ceph/ceph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ceph/ceph/statuses/{sha}","languages_url":"https://api.github.com/repos/ceph/ceph/languages","stargazers_url":"https://api.github.com/repos/ceph/ceph/stargazers","contributors_url":"https://api.github.com/repos/ceph/ceph/contributors","subscribers_url":"https://api.github.com/repos/ceph/ceph/subscribers","subscription_url":"https://api.github.com/repos/ceph/ceph/subscription","commits_url":"https://api.github.com/repos/ceph/ceph/commits{/sha}","git_commits_url":"https://api.github.com/repos/ceph/ceph/git/commits{/sha}","comments_url":"https://api.github.com/repos/ceph/ceph/comments{/number}","issue_comment_url":"https://api.github.com/repos/ceph/ceph/issues/comments{/number}","contents_url":"https://api.github.com/repos/ceph/ceph/contents/{+path}","compare_url":"https://api.github.com/repos/ceph/ceph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ceph/ceph/merges","archive_url":"https://api.github.com/repos/ceph/ceph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ceph/ceph/downloads","issues_url":"https://api.github.com/repos/ceph/ceph/issues{/number}","pulls_url":"https://api.github.com/repos/ceph/ceph/pulls{/number}","milestones_url":"https://api.github.com/repos/ceph/ceph/milestones{/number}","notifications_url":"https://api.github.com/repos/ceph/ceph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ceph/ceph/labels{/name}","releases_url":"https://api.github.com/repos/ceph/ceph/releases{/id}","created_at":"2011-09-01T21:41:26Z","updated_at":"2015-09-10T09:45:38Z","pushed_at":"2015-09-10T12:30:24Z","git_url":"git://github.com/ceph/ceph.git","ssh_url":"git@github.com:ceph/ceph.git","clone_url":"https://github.com/ceph/ceph.git","svn_url":"https://github.com/ceph/ceph","homepage":"http://ceph.com","size":507787,"stargazers_count":1532,"watchers_count":1532,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":896,"mirror_url":null,"open_issues_count":183,"forks":896,"open_issues":183,"watchers":1532,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ceph/ceph/pulls/5870"},"html":{"href":"https://github.com/ceph/ceph/pull/5870"},"issue":{"href":"https://api.github.com/repos/ceph/ceph/issues/5870"},"comments":{"href":"https://api.github.com/repos/ceph/ceph/issues/5870/comments"},"review_comments":{"href":"https://api.github.com/repos/ceph/ceph/pulls/5870/comments"},"review_comment":{"href":"https://api.github.com/repos/ceph/ceph/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ceph/ceph/pulls/5870/commits"},"statuses":{"href":"https://api.github.com/repos/ceph/ceph/statuses/d7d2c704216487127fc5d078442ce639ac03a996"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":0,"changed_files":1}}