{"action":"opened","issue":{"url":"https://api.github.com/repos/j-r-l/coding_practice/issues/109","repository_url":"https://api.github.com/repos/j-r-l/coding_practice","labels_url":"https://api.github.com/repos/j-r-l/coding_practice/issues/109/labels{/name}","comments_url":"https://api.github.com/repos/j-r-l/coding_practice/issues/109/comments","events_url":"https://api.github.com/repos/j-r-l/coding_practice/issues/109/events","html_url":"https://github.com/j-r-l/coding_practice/issues/109","id":147592204,"number":109,"title":"fs concurrency logic","user":{"login":"j-r-l","id":11743731,"avatar_url":"https://avatars.githubusercontent.com/u/11743731?v=3","gravatar_id":"","url":"https://api.github.com/users/j-r-l","html_url":"https://github.com/j-r-l","followers_url":"https://api.github.com/users/j-r-l/followers","following_url":"https://api.github.com/users/j-r-l/following{/other_user}","gists_url":"https://api.github.com/users/j-r-l/gists{/gist_id}","starred_url":"https://api.github.com/users/j-r-l/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j-r-l/subscriptions","organizations_url":"https://api.github.com/users/j-r-l/orgs","repos_url":"https://api.github.com/users/j-r-l/repos","events_url":"https://api.github.com/users/j-r-l/events{/privacy}","received_events_url":"https://api.github.com/users/j-r-l/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-12T00:06:01Z","updated_at":"2016-04-12T00:06:01Z","closed_at":null,"body":"fs_read:\r\n1. hand-over-hand read locks to inode-to-read\r\n2. read\r\n3. release\r\n\r\nfs_write:\r\n1. hand-over-hand read locks until parent-of-inode\r\n2. acquire write-lock for inode\r\n3. release parent-read-lock\r\n3. diskwrite\r\n4. release write-lock for inode\r\n\r\nfs_create:\r\n1. hand-over-hand read-locks until grandparent \r\n2. acquire write-lock for parent \r\n3. release read-lock for grandparent\r\n3. create new child \r\n4. release write-lock for parent\r\n\r\nfs_delete:\r\n1. hand-over-hand read-locks until grandparent\r\n2. acquire write-lock for parent\r\n3. acquire write-lock child\r\n4. delete child\r\n5. release write-lock\r\n6. release write-lock\r\n"}}