haiku/headers/private/fs_shell
Axel Dörfler 5d0afa4e4e * cache_detach_sub_transaction() didn't really work: it did not put all needed
blocks into the new transaction, but it would set that transaction on all
  blocks of the old transaction, too. Also, it did not correctly update the
  num_blocks/sub_num_blocks fields of the old transaction. Even worse, it did
  return B_OK instead of the ID of the new transaction...
* get_writable_cached_block() did not correctly maintain the number of blocks
  in the sub transaction.
* write_cached_block() did not free the original_data of a block when it wrote
  it back as part of a previous transaction.
* Changed "cookie" for cache_next_block_in_transaction() to "long", so it will
  be 64 bits when needed.
* Improved the API for detaching sub transactions: you can now get the blocks
  of only the main (parent) transaction as well, added new
  cache_block_in_main_transaction() function.
* BFS now flushes the log when there is no space left for the current
  transaction.
* _WriteTransactionToLog() allocated a "vecs" array, but never freed it.
* _WriteTransactionToLog() now also supports detaching the current sub
  transaction if the whole thing is getting too large (it will now also panic
  if that doesn't work out).
* Removed a useless optimization: making the blocks available in the cache
  isn't really needed, as all blocks in a transaction are locked into the
  cache, anyway.
* Implemented Transaction::WriteBlocks().
* Minor cleanup, removed some dead code, fixed warnings in the fs_shell's
  block_cache when compiled with debug output on.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23610 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-18 17:07:18 +00:00
..
DoublyLinkedList.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
fssh_api_wrapper.h * cache_detach_sub_transaction() didn't really work: it did not put all needed 2008-01-18 17:07:18 +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 * cache_detach_sub_transaction() didn't really work: it did not put all needed 2008-01-18 17:07:18 +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 * BFS now always writes back the whole block when it writes the super block. 2007-12-08 14:23:35 +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 this macro is preferred 2007-11-19 19:50:38 +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