{"action":"created","issue":{"url":"https://api.github.com/repos/ceph/ceph/issues/6655","labels_url":"https://api.github.com/repos/ceph/ceph/issues/6655/labels{/name}","comments_url":"https://api.github.com/repos/ceph/ceph/issues/6655/comments","events_url":"https://api.github.com/repos/ceph/ceph/issues/6655/events","html_url":"https://github.com/ceph/ceph/pull/6655","id":117812105,"number":6655,"title":"tools: add cephfs-table-tool 'take_inos'","user":{"login":"jcsp","id":944640,"avatar_url":"https://avatars.githubusercontent.com/u/944640?v=3","gravatar_id":"","url":"https://api.github.com/users/jcsp","html_url":"https://github.com/jcsp","followers_url":"https://api.github.com/users/jcsp/followers","following_url":"https://api.github.com/users/jcsp/following{/other_user}","gists_url":"https://api.github.com/users/jcsp/gists{/gist_id}","starred_url":"https://api.github.com/users/jcsp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcsp/subscriptions","organizations_url":"https://api.github.com/users/jcsp/orgs","repos_url":"https://api.github.com/users/jcsp/repos","events_url":"https://api.github.com/users/jcsp/events{/privacy}","received_events_url":"https://api.github.com/users/jcsp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ceph/ceph/labels/cephfs","name":"cephfs","color":"d4c5f9"},{"url":"https://api.github.com/repos/ceph/ceph/labels/feature","name":"feature","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"jcsp","id":944640,"avatar_url":"https://avatars.githubusercontent.com/u/944640?v=3","gravatar_id":"","url":"https://api.github.com/users/jcsp","html_url":"https://github.com/jcsp","followers_url":"https://api.github.com/users/jcsp/followers","following_url":"https://api.github.com/users/jcsp/following{/other_user}","gists_url":"https://api.github.com/users/jcsp/gists{/gist_id}","starred_url":"https://api.github.com/users/jcsp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcsp/subscriptions","organizations_url":"https://api.github.com/users/jcsp/orgs","repos_url":"https://api.github.com/users/jcsp/repos","events_url":"https://api.github.com/users/jcsp/events{/privacy}","received_events_url":"https://api.github.com/users/jcsp/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-11-19T13:19:08Z","updated_at":"2015-11-24T18:28:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ceph/ceph/pulls/6655","html_url":"https://github.com/ceph/ceph/pull/6655","diff_url":"https://github.com/ceph/ceph/pull/6655.diff","patch_url":"https://github.com/ceph/ceph/pull/6655.patch"},"body":"For when your InoTable is wrong, and you want to\r\nbluntly mark all the inos up to the highest you've\r\nseen as in use.  You'll waste some inos by marking\r\nin use when they're really not, but you'll guarantee\r\nthat the system won't try and re-use an ino that's\r\nreally already used by a file.\r\n\r\nSince this breaks the mould of the apply_rank_fn\r\nprototype, and I'm using lambdas here now, also go\r\nahead and convert the other actions to be lambdas\r\ninstead of having lots of _reset_foo_table boilerplate\r\nat class scope.\r\n\r\nSigned-off-by: John Spray <john.spray@redhat.com>"},"comment":{"url":"https://api.github.com/repos/ceph/ceph/issues/comments/159363550","html_url":"https://github.com/ceph/ceph/pull/6655#issuecomment-159363550","issue_url":"https://api.github.com/repos/ceph/ceph/issues/6655","id":159363550,"user":{"login":"gregsfortytwo","id":908479,"avatar_url":"https://avatars.githubusercontent.com/u/908479?v=3","gravatar_id":"","url":"https://api.github.com/users/gregsfortytwo","html_url":"https://github.com/gregsfortytwo","followers_url":"https://api.github.com/users/gregsfortytwo/followers","following_url":"https://api.github.com/users/gregsfortytwo/following{/other_user}","gists_url":"https://api.github.com/users/gregsfortytwo/gists{/gist_id}","starred_url":"https://api.github.com/users/gregsfortytwo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregsfortytwo/subscriptions","organizations_url":"https://api.github.com/users/gregsfortytwo/orgs","repos_url":"https://api.github.com/users/gregsfortytwo/repos","events_url":"https://api.github.com/users/gregsfortytwo/events{/privacy}","received_events_url":"https://api.github.com/users/gregsfortytwo/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T18:28:32Z","updated_at":"2015-11-24T18:28:32Z","body":"We've done reasonably well with testing in general, but I'd like to make a line for the new tools to make sure all our new functionality has decent test coverage. This is definitely part of that — we don't want to need this on a user site and suddenly discover it was broken on the version they had installed!"}}