{"action":"created","issue":{"url":"https://api.github.com/repos/kripken/emscripten/issues/2492","labels_url":"https://api.github.com/repos/kripken/emscripten/issues/2492/labels{/name}","comments_url":"https://api.github.com/repos/kripken/emscripten/issues/2492/comments","events_url":"https://api.github.com/repos/kripken/emscripten/issues/2492/events","html_url":"https://github.com/kripken/emscripten/issues/2492","id":37300845,"number":2492,"title":"Call syncfs() on IDBFS when the C fsync() is called","user":{"login":"kripken","id":173661,"avatar_url":"https://avatars.githubusercontent.com/u/173661?v=3","gravatar_id":"","url":"https://api.github.com/users/kripken","html_url":"https://github.com/kripken","followers_url":"https://api.github.com/users/kripken/followers","following_url":"https://api.github.com/users/kripken/following{/other_user}","gists_url":"https://api.github.com/users/kripken/gists{/gist_id}","starred_url":"https://api.github.com/users/kripken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kripken/subscriptions","organizations_url":"https://api.github.com/users/kripken/orgs","repos_url":"https://api.github.com/users/kripken/repos","events_url":"https://api.github.com/users/kripken/events{/privacy}","received_events_url":"https://api.github.com/users/kripken/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kripken/emscripten/labels/filesystem","name":"filesystem","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2014-07-07T19:16:47Z","updated_at":"2015-02-08T08:29:42Z","closed_at":null,"body":"This seems reasonable to do, as IDBFS does have the a concept of writing out to storage. However, it is asynchronous which may be confusing.\r\n"},"comment":{"url":"https://api.github.com/repos/kripken/emscripten/issues/comments/73401950","html_url":"https://github.com/kripken/emscripten/issues/2492#issuecomment-73401950","issue_url":"https://api.github.com/repos/kripken/emscripten/issues/2492","id":73401950,"user":{"login":"timdream","id":93093,"avatar_url":"https://avatars.githubusercontent.com/u/93093?v=3","gravatar_id":"","url":"https://api.github.com/users/timdream","html_url":"https://github.com/timdream","followers_url":"https://api.github.com/users/timdream/followers","following_url":"https://api.github.com/users/timdream/following{/other_user}","gists_url":"https://api.github.com/users/timdream/gists{/gist_id}","starred_url":"https://api.github.com/users/timdream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timdream/subscriptions","organizations_url":"https://api.github.com/users/timdream/orgs","repos_url":"https://api.github.com/users/timdream/repos","events_url":"https://api.github.com/users/timdream/events{/privacy}","received_events_url":"https://api.github.com/users/timdream/received_events","type":"User","site_admin":false},"created_at":"2015-02-08T08:29:42Z","updated_at":"2015-02-08T08:29:42Z","body":"Hum, after reading `EmterpreterAsync.handle()` I can't figured out how `fsync` call could return an real error code asynchronously. I will finish up the tests and submit my original patch first."}}