haiku/docs
Ingo Weinhold 98a5231fe5 Introduce vnode op supports_operation(), fix devfs_io()
devfs_io() can't fall back to calling vfs_synchronous_io(), if the
device driver doesn't support handling requests asynchronously. The
presence of the io() hook leads the VFS (do_iterative_fd_io()) to
believe that asynchronous handling is supported and set a
finished-callback on the request which calls the io() hook to start the
next chunk. Thus, instead of iterating through the request in a loop
the iteration happens recursively. For sufficiently fragmented requests
the stack may overflow (ticket #9900).

* Introduce a new vnode operation supports_operation(). It can be called
  by the VFS to determine whether a present hook is actually currently
  supported for a given vnode.
* devfs: implement the new hook and remove the fallback handling in
  devfs_io().
* vfs_request_io.cpp: use the new hook to determine whether the io()
  hook is really supported.
2013-07-27 17:45:59 +02:00
..
apps
bin
develop docs: Add initial BeagleBone Black docs 2013-04-28 13:02:03 -05:00
freetype2
icon_guidelines
user Introduce vnode op supports_operation(), fix devfs_io() 2013-07-27 17:45:59 +02:00
userguide Update userguide translations 2013-02-17 21:56:39 +01:00
welcome Update userguide translations 2013-02-17 21:56:39 +01:00