{"action":"created","issue":{"url":"https://api.github.com/repos/genodelabs/genode/issues/1909","repository_url":"https://api.github.com/repos/genodelabs/genode","labels_url":"https://api.github.com/repos/genodelabs/genode/issues/1909/labels{/name}","comments_url":"https://api.github.com/repos/genodelabs/genode/issues/1909/comments","events_url":"https://api.github.com/repos/genodelabs/genode/issues/1909/events","html_url":"https://github.com/genodelabs/genode/issues/1909","id":141235683,"number":1909,"title":"Add Out_of_metadata exception to File_system session","user":{"login":"ehmry","id":537775,"avatar_url":"https://avatars.githubusercontent.com/u/537775?v=3","gravatar_id":"","url":"https://api.github.com/users/ehmry","html_url":"https://github.com/ehmry","followers_url":"https://api.github.com/users/ehmry/followers","following_url":"https://api.github.com/users/ehmry/following{/other_user}","gists_url":"https://api.github.com/users/ehmry/gists{/gist_id}","starred_url":"https://api.github.com/users/ehmry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehmry/subscriptions","organizations_url":"https://api.github.com/users/ehmry/orgs","repos_url":"https://api.github.com/users/ehmry/repos","events_url":"https://api.github.com/users/ehmry/events{/privacy}","received_events_url":"https://api.github.com/users/ehmry/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-16T10:49:24Z","updated_at":"2016-04-12T14:08:36Z","closed_at":null,"body":"For any method of the File_system session interface that allocates a handle the error ``Out_of_node_handles`` can be thrown when the handle registry is full. I suggest that this error be replaced with a more generic ``Out_of_metadata`` exception. This indicates to the client that perhaps the session quota may be upgraded and the operation tried again.\r\n\r\nFor now an upgrade would not do anything, but I only occasionally see Out_of_node errors with fs_rom. But it would allow the vfs server to request more quota from clients when allocating VFS handles, see #1751. It is also useful where small File_system shim servers must split their client quota with a session that they proxy, and this allows them to inject or forward session upgrade requests.\r\n\r\nThe client handling of this error can be done transparently, methods which throw Out_of_metadata can trigger an automatic upgrade and retry within the File_system::Connection class.\r\n\r\nThis would also allow servers to operate without a practical limit on the number of open handles by dynamically allocating additional handle registries."},"comment":{"url":"https://api.github.com/repos/genodelabs/genode/issues/comments/208924271","html_url":"https://github.com/genodelabs/genode/issues/1909#issuecomment-208924271","issue_url":"https://api.github.com/repos/genodelabs/genode/issues/1909","id":208924271,"user":{"login":"ehmry","id":537775,"avatar_url":"https://avatars.githubusercontent.com/u/537775?v=3","gravatar_id":"","url":"https://api.github.com/users/ehmry","html_url":"https://github.com/ehmry","followers_url":"https://api.github.com/users/ehmry/followers","following_url":"https://api.github.com/users/ehmry/following{/other_user}","gists_url":"https://api.github.com/users/ehmry/gists{/gist_id}","starred_url":"https://api.github.com/users/ehmry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehmry/subscriptions","organizations_url":"https://api.github.com/users/ehmry/orgs","repos_url":"https://api.github.com/users/ehmry/repos","events_url":"https://api.github.com/users/ehmry/events{/privacy}","received_events_url":"https://api.github.com/users/ehmry/received_events","type":"User","site_admin":false},"created_at":"2016-04-12T14:08:36Z","updated_at":"2016-04-12T14:08:36Z","body":"@chelmuth I think in the case of unlink ''Invalid_name'' is redundant with ``Lookup_failed``, but yes, I will look for similar problems."}}