{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/5909","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/5909/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/5909/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/5909/events","html_url":"https://github.com/ManageIQ/manageiq/pull/5909","id":122991167,"number":5909,"title":"Fix Incorrect Usage of MemoryBuffer in XFS AllocationGroup","user":{"login":"jerryk55","id":6118503,"avatar_url":"https://avatars.githubusercontent.com/u/6118503?v=3","gravatar_id":"","url":"https://api.github.com/users/jerryk55","html_url":"https://github.com/jerryk55","followers_url":"https://api.github.com/users/jerryk55/followers","following_url":"https://api.github.com/users/jerryk55/following{/other_user}","gists_url":"https://api.github.com/users/jerryk55/gists{/gist_id}","starred_url":"https://api.github.com/users/jerryk55/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerryk55/subscriptions","organizations_url":"https://api.github.com/users/jerryk55/orgs","repos_url":"https://api.github.com/users/jerryk55/repos","events_url":"https://api.github.com/users/jerryk55/events{/privacy}","received_events_url":"https://api.github.com/users/jerryk55/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-18T17:21:16Z","updated_at":"2015-12-18T17:28:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/5909","html_url":"https://github.com/ManageIQ/manageiq/pull/5909","diff_url":"https://github.com/ManageIQ/manageiq/pull/5909.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/5909.patch"},"body":"The AllocationGroup code in XFS initializes a MemoryBuffer\r\nvia MemoryBuffer.create and then uses the local variable\r\npointing to the buffer for the data read from the XFS filesystem,\r\ndiscarding the newly allocated buffer.\r\nWe now read the data directly into the buffer so the space is not wasted.\r\n\r\n@roliveri @Fryguy @chessbyte please review this simple fix.  Thanks."},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/165846878","html_url":"https://github.com/ManageIQ/manageiq/pull/5909#issuecomment-165846878","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/5909","id":165846878,"user":{"login":"miq-bot","id":7806257,"avatar_url":"https://avatars.githubusercontent.com/u/7806257?v=3","gravatar_id":"","url":"https://api.github.com/users/miq-bot","html_url":"https://github.com/miq-bot","followers_url":"https://api.github.com/users/miq-bot/followers","following_url":"https://api.github.com/users/miq-bot/following{/other_user}","gists_url":"https://api.github.com/users/miq-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/miq-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miq-bot/subscriptions","organizations_url":"https://api.github.com/users/miq-bot/orgs","repos_url":"https://api.github.com/users/miq-bot/repos","events_url":"https://api.github.com/users/miq-bot/events{/privacy}","received_events_url":"https://api.github.com/users/miq-bot/received_events","type":"User","site_admin":false},"created_at":"2015-12-18T17:28:10Z","updated_at":"2015-12-18T17:28:10Z","body":"<rubocop />Checked commit https://github.com/jerryk55/manageiq/commit/267e9990804630ec0801f8ade3e3fe255779d2e5 with ruby 2.2.3, rubocop 0.34.2, and haml-lint 0.13.0\n1 file checked, 0 offenses detected\nEverything looks good. :star:\n"}}