{"action":"created","comment":{"url":"https://api.github.com/repos/ceph/ceph/pulls/comments/136901042","pull_request_review_id":60501638,"id":136901042,"diff_hunk":"@@ -1368,9 +1368,13 @@ JNIEXPORT jint JNICALL Java_com_ceph_fs_CephMount_native_1ceph_1setattr\n \tstx.stx_mode = env->GetIntField(j_cephstat, cephstat_mode_fid);\n \tstx.stx_uid = env->GetIntField(j_cephstat, cephstat_uid_fid);\n \tstx.stx_gid = env->GetIntField(j_cephstat, cephstat_gid_fid);\n-\tstx.stx_mtime.tv_sec = env->GetLongField(j_cephstat, cephstat_m_time_fid);\n-\tstx.stx_atime.tv_sec = env->GetLongField(j_cephstat, cephstat_a_time_fid);\n-\n+\tlong mtime_msec = env->GetLongField(j_cephstat, cephstat_m_time_fid);\n+\tlong atime_msec = env->GetLongField(j_cephstat, cephstat_a_time_fid);\n+\tstx.stx_mtime.tv_sec = mtime_msec/1000;","path":"src/java/native/libcephfs_jni.cc","position":9,"original_position":9,"commit_id":"d791bdf002d6a2e2fc52d224fd93d0d7244b7062","original_commit_id":"d791bdf002d6a2e2fc52d224fd93d0d7244b7062","user":{"login":"tchaikov","id":59071,"avatar_url":"https://avatars2.githubusercontent.com/u/59071?v=4","gravatar_id":"","url":"https://api.github.com/users/tchaikov","html_url":"https://github.com/tchaikov","followers_url":"https://api.github.com/users/tchaikov/followers","following_url":"https://api.github.com/users/tchaikov/following{/other_user}","gists_url":"https://api.github.com/users/tchaikov/gists{/gist_id}","starred_url":"https://api.github.com/users/tchaikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tchaikov/subscriptions","organizations_url":"https://api.github.com/users/tchaikov/orgs","repos_url":"https://api.github.com/users/tchaikov/repos","events_url":"https://api.github.com/users/tchaikov/events{/privacy}","received_events_url":"https://api.github.com/users/tchaikov/received_events","type":"User","site_admin":false},"body":"add a space before and after `/`.","created_at":"2017-09-05T06:05:03Z","updated_at":"2017-09-05T06:07:34Z","html_url":"https://github.com/ceph/ceph/pull/17460#discussion_r136901042","pull_request_url":"https://api.github.com/repos/ceph/ceph/pulls/17460","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ceph/ceph/pulls/comments/136901042"},"html":{"href":"https://github.com/ceph/ceph/pull/17460#discussion_r136901042"},"pull_request":{"href":"https://api.github.com/repos/ceph/ceph/pulls/17460"}}},"pull_request":{"url":"https://api.github.com/repos/ceph/ceph/pulls/17460","id":139236529,"html_url":"https://github.com/ceph/ceph/pull/17460","diff_url":"https://github.com/ceph/ceph/pull/17460.diff","patch_url":"https://github.com/ceph/ceph/pull/17460.patch","issue_url":"https://api.github.com/repos/ceph/ceph/issues/17460","number":17460,"state":"open","locked":false,"title":"java/native: Fix: misuse milliseconds to seconds when set mtime or at…","user":{"login":"dengquan","id":3711119,"avatar_url":"https://avatars2.githubusercontent.com/u/3711119?v=4","gravatar_id":"","url":"https://api.github.com/users/dengquan","html_url":"https://github.com/dengquan","followers_url":"https://api.github.com/users/dengquan/followers","following_url":"https://api.github.com/users/dengquan/following{/other_user}","gists_url":"https://api.github.com/users/dengquan/gists{/gist_id}","starred_url":"https://api.github.com/users/dengquan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dengquan/subscriptions","organizations_url":"https://api.github.com/users/dengquan/orgs","repos_url":"https://api.github.com/users/dengquan/repos","events_url":"https://api.github.com/users/dengquan/events{/privacy}","received_events_url":"https://api.github.com/users/dengquan/received_events","type":"User","site_admin":false},"body":"…ime in java\r\n\r\nSigned-off-by: dengquan <dqdq1023@hotmail.com>","created_at":"2017-09-05T04:38:49Z","updated_at":"2017-09-05T06:07:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fef8b053c232b9f37fd1da21be647ebd6c735bb8","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/ceph/ceph/pulls/17460/commits","review_comments_url":"https://api.github.com/repos/ceph/ceph/pulls/17460/comments","review_comment_url":"https://api.github.com/repos/ceph/ceph/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ceph/ceph/issues/17460/comments","statuses_url":"https://api.github.com/repos/ceph/ceph/statuses/d791bdf002d6a2e2fc52d224fd93d0d7244b7062","head":{"label":"dengquan:master","ref":"master","sha":"d791bdf002d6a2e2fc52d224fd93d0d7244b7062","user":{"login":"dengquan","id":3711119,"avatar_url":"https://avatars2.githubusercontent.com/u/3711119?v=4","gravatar_id":"","url":"https://api.github.com/users/dengquan","html_url":"https://github.com/dengquan","followers_url":"https://api.github.com/users/dengquan/followers","following_url":"https://api.github.com/users/dengquan/following{/other_user}","gists_url":"https://api.github.com/users/dengquan/gists{/gist_id}","starred_url":"https://api.github.com/users/dengquan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dengquan/subscriptions","organizations_url":"https://api.github.com/users/dengquan/orgs","repos_url":"https://api.github.com/users/dengquan/repos","events_url":"https://api.github.com/users/dengquan/events{/privacy}","received_events_url":"https://api.github.com/users/dengquan/received_events","type":"User","site_admin":false},"repo":{"id":98252750,"name":"ceph","full_name":"dengquan/ceph","owner":{"login":"dengquan","id":3711119,"avatar_url":"https://avatars2.githubusercontent.com/u/3711119?v=4","gravatar_id":"","url":"https://api.github.com/users/dengquan","html_url":"https://github.com/dengquan","followers_url":"https://api.github.com/users/dengquan/followers","following_url":"https://api.github.com/users/dengquan/following{/other_user}","gists_url":"https://api.github.com/users/dengquan/gists{/gist_id}","starred_url":"https://api.github.com/users/dengquan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dengquan/subscriptions","organizations_url":"https://api.github.com/users/dengquan/orgs","repos_url":"https://api.github.com/users/dengquan/repos","events_url":"https://api.github.com/users/dengquan/events{/privacy}","received_events_url":"https://api.github.com/users/dengquan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dengquan/ceph","description":"Ceph is a distributed object, block, and file storage platform ","fork":true,"url":"https://api.github.com/repos/dengquan/ceph","forks_url":"https://api.github.com/repos/dengquan/ceph/forks","keys_url":"https://api.github.com/repos/dengquan/ceph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dengquan/ceph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dengquan/ceph/teams","hooks_url":"https://api.github.com/repos/dengquan/ceph/hooks","issue_events_url":"https://api.github.com/repos/dengquan/ceph/issues/events{/number}","events_url":"https://api.github.com/repos/dengquan/ceph/events","assignees_url":"https://api.github.com/repos/dengquan/ceph/assignees{/user}","branches_url":"https://api.github.com/repos/dengquan/ceph/branches{/branch}","tags_url":"https://api.github.com/repos/dengquan/ceph/tags","blobs_url":"https://api.github.com/repos/dengquan/ceph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dengquan/ceph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dengquan/ceph/git/refs{/sha}","trees_url":"https://api.github.com/repos/dengquan/ceph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dengquan/ceph/statuses/{sha}","languages_url":"https://api.github.com/repos/dengquan/ceph/languages","stargazers_url":"https://api.github.com/repos/dengquan/ceph/stargazers","contributors_url":"https://api.github.com/repos/dengquan/ceph/contributors","subscribers_url":"https://api.github.com/repos/dengquan/ceph/subscribers","subscription_url":"https://api.github.com/repos/dengquan/ceph/subscription","commits_url":"https://api.github.com/repos/dengquan/ceph/commits{/sha}","git_commits_url":"https://api.github.com/repos/dengquan/ceph/git/commits{/sha}","comments_url":"https://api.github.com/repos/dengquan/ceph/comments{/number}","issue_comment_url":"https://api.github.com/repos/dengquan/ceph/issues/comments{/number}","contents_url":"https://api.github.com/repos/dengquan/ceph/contents/{+path}","compare_url":"https://api.github.com/repos/dengquan/ceph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dengquan/ceph/merges","archive_url":"https://api.github.com/repos/dengquan/ceph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dengquan/ceph/downloads","issues_url":"https://api.github.com/repos/dengquan/ceph/issues{/number}","pulls_url":"https://api.github.com/repos/dengquan/ceph/pulls{/number}","milestones_url":"https://api.github.com/repos/dengquan/ceph/milestones{/number}","notifications_url":"https://api.github.com/repos/dengquan/ceph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dengquan/ceph/labels{/name}","releases_url":"https://api.github.com/repos/dengquan/ceph/releases{/id}","deployments_url":"https://api.github.com/repos/dengquan/ceph/deployments","created_at":"2017-07-25T01:59:58Z","updated_at":"2017-07-25T02:00:25Z","pushed_at":"2017-09-05T04:38:05Z","git_url":"git://github.com/dengquan/ceph.git","ssh_url":"git@github.com:dengquan/ceph.git","clone_url":"https://github.com/dengquan/ceph.git","svn_url":"https://github.com/dengquan/ceph","homepage":"http://ceph.com","size":238179,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"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":"10fedb208c1805036be7278ef3acdba9d8b859d2","user":{"login":"ceph","id":1015767,"avatar_url":"https://avatars3.githubusercontent.com/u/1015767?v=4","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://avatars3.githubusercontent.com/u/1015767?v=4","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}","deployments_url":"https://api.github.com/repos/ceph/ceph/deployments","created_at":"2011-09-01T21:41:26Z","updated_at":"2017-09-05T03:53:32Z","pushed_at":"2017-09-05T05:43:06Z","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":240068,"stargazers_count":3583,"watchers_count":3583,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2068,"mirror_url":null,"open_issues_count":472,"forks":2068,"open_issues":472,"watchers":3583,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ceph/ceph/pulls/17460"},"html":{"href":"https://github.com/ceph/ceph/pull/17460"},"issue":{"href":"https://api.github.com/repos/ceph/ceph/issues/17460"},"comments":{"href":"https://api.github.com/repos/ceph/ceph/issues/17460/comments"},"review_comments":{"href":"https://api.github.com/repos/ceph/ceph/pulls/17460/comments"},"review_comment":{"href":"https://api.github.com/repos/ceph/ceph/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ceph/ceph/pulls/17460/commits"},"statuses":{"href":"https://api.github.com/repos/ceph/ceph/statuses/d791bdf002d6a2e2fc52d224fd93d0d7244b7062"}},"author_association":"NONE"}}
{"actor":{"display_login":"tchaikov"}}