haiku/headers/private/fs_shell
Axel Dörfler 3d268eda3d * Extracted file_map API out of the file cache - it's now an optional service
that can be used by file systems.
* Changed the way the file cache works: instead of reading/writing to the
  underlying device directly, it can now be used for any data source, ie.
  also network file systems.
* As a result, the former pages_io() moved to the VFS layer, and can now be
  called by a file system via {read|write}_file_io_vec_pages() (naming
  suggestions are always welcomed :-)). It now gets an FD, and uses that to
  communicate with the device (via its fs_{read|write}_pages() hooks).
* The file_cache_{read|write}() functions must now be called without holding
  an I/O relevant file system lock. That allows the file cache to prepare the
  pages without colliding with the page writer, IOW the "mayBlock" flag can
  go into the attic again (yay!).
* This also results in a much better performance when the system does I/O and
  is low on memory, as the page writer can now finally write back some pages,
  and that even without maxing out the CPU :)
* The API changes put slightly more burden on the fs_{read|write}_pages()
  hooks, but in combination with the file_map it's still pretty straight
  forward. It just will have to dispatch the call to the underlying device
  directly, usually it will just call its fs_{read|write}_pages() hooks
  via the above mentioned calls.
* Ported BFS and FAT to the new API, the latter has not been tested, though.
* Also ported the API changes to the fs_shell. I also completely removed its
  file cache level page handling - the downside is that device access is no
  longer cached (ie. depends on the host OS now), the upside is that the code
  is greatly simplified.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22886 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-11-10 21:19:52 +00:00
..
DoublyLinkedList.h Beginnings of a new, better portable FS shell with Haiku FS interface. 2007-04-27 12:17:22 +00:00
fssh_api_wrapper.h * Extracted file_map API out of the file cache - it's now an optional service 2007-11-10 21:19:52 +00:00
fssh_atomic.h x86_64 changes : 2007-06-17 10:50:18 +00:00
fssh_auto_locker.h Beginnings of a new, better portable FS shell with Haiku FS interface. 2007-04-27 12:17:22 +00:00
fssh_byte_order.h Beginnings of a new, better portable FS shell with Haiku FS interface. 2007-04-27 12:17:22 +00:00
fssh_defs.h Thou shall not leave a blank line between copyright header and header 2007-05-02 14:26:29 +00:00
fssh_dirent.h Beginnings of a new, better portable FS shell with Haiku FS interface. 2007-04-27 12:17:22 +00:00
fssh_disk_device_defs.h * Added disk system flags for whether a partition name and partition 2007-08-22 21:21:30 +00:00
fssh_disk_device_manager.h Added scan_partition() function which can be used by disk systems (e.g. 2007-10-04 18:03:24 +00:00
fssh_driver_settings.h Added driver settings support to the FS shell. 2007-05-25 05:07:34 +00:00
fssh_drivers.h Beginnings of a new, better portable FS shell with Haiku FS interface. 2007-04-27 12:17:22 +00:00
fssh_errno.h Provide a way to convert FS shell error codes to host platform error 2007-04-28 23:40:04 +00:00
fssh_errors.h Passed GENERAL_ERROR_BASE from LONG_MIN to INT_MIN (errors are uint32). 2007-06-20 21:58:02 +00:00
fssh_fcntl.h Beginnings of a new, better portable FS shell with Haiku FS interface. 2007-04-27 12:17:22 +00:00
fssh_fs_attr.h Beginnings of a new, better portable FS shell with Haiku FS interface. 2007-04-27 12:17:22 +00:00
fssh_fs_cache.h * Extracted file_map API out of the file cache - it's now an optional service 2007-11-10 21:19:52 +00:00
fssh_fs_index.h Beginnings of a new, better portable FS shell with Haiku FS interface. 2007-04-27 12:17:22 +00:00
fssh_fs_info.h Beginnings of a new, better portable FS shell with Haiku FS interface. 2007-04-27 12:17:22 +00:00
fssh_fs_interface.h * Extracted file_map API out of the file cache - it's now an optional service 2007-11-10 21:19:52 +00:00
fssh_fs_query.h Beginnings of a new, better portable FS shell with Haiku FS interface. 2007-04-27 12:17:22 +00:00
fssh_fs_volume.h Beginnings of a new, better portable FS shell with Haiku FS interface. 2007-04-27 12:17:22 +00:00
fssh_kernel_export.h Beginnings of a new, better portable FS shell with Haiku FS interface. 2007-04-27 12:17:22 +00:00
fssh_kernel_priv.h Beginnings of a new, better portable FS shell with Haiku FS interface. 2007-04-27 12:17:22 +00:00
fssh_module.h FS shell changes: 2007-04-27 22:37:01 +00:00
fssh_node_monitor.h Beginnings of a new, better portable FS shell with Haiku FS interface. 2007-04-27 12:17:22 +00:00
fssh_os.h Thou shall not leave a blank line between copyright header and header 2007-05-02 14:26:29 +00:00
fssh_stat.h Surprising how much gcc 4 compilers on Linux differ. Another attempt to 2007-05-07 13:41:12 +00:00
fssh_stdio.h Beginnings of a new, better portable FS shell with Haiku FS interface. 2007-04-27 12:17:22 +00:00
fssh_string.h Beginnings of a new, better portable FS shell with Haiku FS interface. 2007-04-27 12:17:22 +00:00
fssh_time.h Beginnings of a new, better portable FS shell with Haiku FS interface. 2007-04-27 12:17:22 +00:00
fssh_type_constants.h Beginnings of a new, better portable FS shell with Haiku FS interface. 2007-04-27 12:17:22 +00:00
fssh_types.h x86_64 changes : 2007-06-17 10:50:18 +00:00
fssh_uio.h Beginnings of a new, better portable FS shell with Haiku FS interface. 2007-04-27 12:17:22 +00:00
fssh_unistd.h Beginnings of a new, better portable FS shell with Haiku FS interface. 2007-04-27 12:17:22 +00:00
KPath.h Beginnings of a new, better portable FS shell with Haiku FS interface. 2007-04-27 12:17:22 +00:00
Stack.h Beginnings of a new, better portable FS shell with Haiku FS interface. 2007-04-27 12:17:22 +00:00