#
6f7fc220 |
|
07-Mar-2016 |
Axel Dörfler <axeld@pinc-software.de> |
NodeMonitor: Added B_WATCH_CHILDREN flag. * Added a directory argument for notify_{stat/attribute}_changed(). * This allows to watch only a directory, and get the notifications for all of its files, not just add/remove entry notifications.
|
#
eebdc855 |
|
18-Apr-2015 |
Michael Lotz <mmlr@mlotz.ch> |
userlandfs: Fix 64 bit debug build.
|
#
3cad4983 |
|
04-Apr-2015 |
Rene Gollent <rene@gollent.com> |
userlandfs: Fix debug build.
|
#
ffba6606 |
|
29-Mar-2015 |
Michael Lotz <mmlr@mlotz.ch> |
UserlandFS: Make 64 bit clean and enable build for x86_64. I did not bother to fix the BeOS kernel emulation, so this part is still left out of the x86_64 build.
|
#
88e38c17 |
|
16-Dec-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Replace uses of obsolescent BReference[able] API. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39870 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
83f46ed6 |
|
21-Jul-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
file_cache_write() can get a NULL buffer and still a size != 0, which the request handling wasn't taking into account. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37640 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c77f643a |
|
20-Nov-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added support for in-kernel node monitoring ({add,remove}_node_listener()). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34147 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8af6418b |
|
19-Nov-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Implemented support for the recently introduced I/O request calls io_request_{offset,length}(), {read_from,write_to}_io_request(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34137 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
07745f2a |
|
30-Jul-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added support for new notify_io_request() function. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31970 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4649fe05 |
|
17-Mar-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Haiku kernel interface emulation: Retrieve the capabilities for each vnode. We do some caching using a hash table indexed by the operations vector. * Pass the vnode capabilities to the kernel module. * In the kernel tailor the operation vectors for volumes and vnodes passed to the VFS according to the respective capabilities. This way those vectors look pretty much like those from the client FS. This saves unnecessary calls when hooks are not implemented and should also fix compatibility problems in cases where not implementing a hook and returning an error don't mean the same to the VFS. * Inlined some of the kernel module Volume class getters. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29572 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c7a618a0 |
|
16-Mar-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Removed work-around for FileCacheReadRequest and TODO for FileCacheWriteRequest. Stacking requests is now possible, so reentering the file system while serving those requests is no problem anymore. BFS seems to be quite happy as far as I've tested it. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29566 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8ed20122 |
|
16-Mar-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Don't allocate the buffer on early error. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29559 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0c9a35e8 |
|
15-Mar-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* FileCacheReadRequest: Implemented work-around for the problem that file_cache_read() will reenter the file system which will overwrite the buffer associated with the port, so we can't allocate space in the buffer before calling it. * FileCacheWriteRequest still has a similar problem, though it's probably better to rethink the kernel-userland communication completely. BFS basically seems to work in userland, now. Didn't really test write operations though. They will probably run into problems due to the issue above. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29555 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c76e8d36 |
|
15-Mar-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Implemented forwarding the do_iterative_fd_io() callbacks to userland. * Pass the request offset and length with the DoIORequest. This allows us to already get the first vecs for do_iterative_fd_io() in userland, saving a trip back and forth. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29546 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
687e02f9 |
|
14-Mar-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Forward the io() and cancel_io() hooks. Implemented the missing kernel part. * Implemented a good part of the kernel part for the support of do_iterative_fd_io(). The forwarding of the callbacks are missing yet. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29540 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
97b7c9a0 |
|
05-Mar-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Handle file cache related requests in the kernel. The actual calls to the file cache are missing yet -- requires some refactoring in Volume. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29402 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
02347947 |
|
03-Mar-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Implemented acquire_vnode() forwarding. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29391 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2bcdce29 |
|
24-Feb-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
First work towards adjusting the UserlandFS to the changed FS API. The kernel module compiles again, though newer features like VM file support, asynchronous I/O, and FS layers aren't supported yet. The userland code is still completely out of sync and won't even compile. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29318 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
636bfc08 |
|
02-Oct-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Renamed fs/vfs_select.cpp to wait_for_objects.cpp and got rid of vfs_select.h, respectively moved most of it into the new kernel private header wait_for_objects.h. * Added new experimental API functions wait_for_objects[_etc](). They work pretty much like poll(), but also for semaphores, ports, and threads. * Removed the "ref" parameter from notify_select_events() and the select_sync_pool functions as well as from fd_ops::fd_[de]select(). It is no longer needed. The FS interface select() hook still has it, though -- the VFS will always pass 0. * de]select_fd() take a select_info* instead of a select_sync* + ref pair, now. Added respective functions for semaphores, ports, and threads. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22416 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
245aecda |
|
21-Jun-2007 |
Axel Dörfler <axeld@pinc-software.de> |
Got rid of vnode_id and mount_id, replaced with ino_t and dev_t. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21485 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
97dd0fe3 |
|
01-Mar-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Adjusted according to the is_vnode_removed() -> get_vnode_removed() change. * The new notification functions are used instead of send_notification() and notify_listener() now. Mapped them in the BeOS kernel emulation accordingly. RamFS node monitoring seems to work now. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20298 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
042eb168 |
|
28-Feb-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* More debug output in the kernel module. * Made publish_vnode() available in userland. For old style FS add-ons publish_vnode() is used when they request a new_vnode(). The semantics of new_vnode() changed considerably in Haiku, but publish_vnode() seems to do pretty much what the old new_vnode() did. * The UserlandFS hosted RamFS begins to work under Haiku. It runs pretty soon out of memory though (under vmware with 256 MB) and node monitoring is broken ATM. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20264 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b12d25d1 |
|
25-Feb-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
First walk through the userlandfs kernel add-on to port it to the Haiku FS interface. Adjusted old hooks, but didn't add the new ones yet. The module builds now at least. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20235 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
83812f67 |
|
23-Feb-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Copied userlandfs code from the test tree to the haiku source tree, where it will be ported to Haiku. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20216 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
eebdc855b82519c7fec6f58255784ace21267b2a |
|
18-Apr-2015 |
Michael Lotz <mmlr@mlotz.ch> |
userlandfs: Fix 64 bit debug build.
|
#
3cad498309eb76249f8c57066ee57299f189025f |
|
04-Apr-2015 |
Rene Gollent <rene@gollent.com> |
userlandfs: Fix debug build.
|
#
ffba66060b0155c987fc2232b803b243610c6430 |
|
29-Mar-2015 |
Michael Lotz <mmlr@mlotz.ch> |
UserlandFS: Make 64 bit clean and enable build for x86_64. I did not bother to fix the BeOS kernel emulation, so this part is still left out of the x86_64 build.
|
#
88e38c178a96634d52920e2de8bb3cbd49869f93 |
|
16-Dec-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Replace uses of obsolescent BReference[able] API. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39870 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
83f46ed6ab97c9ccd617b70017422a8113eb6308 |
|
21-Jul-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
file_cache_write() can get a NULL buffer and still a size != 0, which the request handling wasn't taking into account. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37640 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c77f643a2b3f3990e6f355d6c333537b9cbfd88f |
|
20-Nov-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added support for in-kernel node monitoring ({add,remove}_node_listener()). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34147 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8af6418b5c35c7c7b4a008783ffde29448b01f99 |
|
19-Nov-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Implemented support for the recently introduced I/O request calls io_request_{offset,length}(), {read_from,write_to}_io_request(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34137 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
07745f2a0b9f21a8c92326dd8a39d5a8d9a0049c |
|
30-Jul-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Added support for new notify_io_request() function. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31970 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4649fe05ef03c9981231538121df35aab32f2bc0 |
|
17-Mar-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Haiku kernel interface emulation: Retrieve the capabilities for each vnode. We do some caching using a hash table indexed by the operations vector. * Pass the vnode capabilities to the kernel module. * In the kernel tailor the operation vectors for volumes and vnodes passed to the VFS according to the respective capabilities. This way those vectors look pretty much like those from the client FS. This saves unnecessary calls when hooks are not implemented and should also fix compatibility problems in cases where not implementing a hook and returning an error don't mean the same to the VFS. * Inlined some of the kernel module Volume class getters. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29572 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c7a618a03790319cc272f543cb56cc7bd71e142d |
|
16-Mar-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Removed work-around for FileCacheReadRequest and TODO for FileCacheWriteRequest. Stacking requests is now possible, so reentering the file system while serving those requests is no problem anymore. BFS seems to be quite happy as far as I've tested it. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29566 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8ed201229d89d2ac2e59402b2c2dd6c94829f41f |
|
16-Mar-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Don't allocate the buffer on early error. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29559 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0c9a35e88281fad617eae5909d306aadf5d60e39 |
|
15-Mar-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* FileCacheReadRequest: Implemented work-around for the problem that file_cache_read() will reenter the file system which will overwrite the buffer associated with the port, so we can't allocate space in the buffer before calling it. * FileCacheWriteRequest still has a similar problem, though it's probably better to rethink the kernel-userland communication completely. BFS basically seems to work in userland, now. Didn't really test write operations though. They will probably run into problems due to the issue above. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29555 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c76e8d36fb69fa88a01ff734f45523c36629af17 |
|
15-Mar-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Implemented forwarding the do_iterative_fd_io() callbacks to userland. * Pass the request offset and length with the DoIORequest. This allows us to already get the first vecs for do_iterative_fd_io() in userland, saving a trip back and forth. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29546 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
687e02f9457b4cf0a13495467d561f5c08d84868 |
|
14-Mar-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Forward the io() and cancel_io() hooks. Implemented the missing kernel part. * Implemented a good part of the kernel part for the support of do_iterative_fd_io(). The forwarding of the callbacks are missing yet. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29540 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
97b7c9a09199e3597c55bb03c4da1a0fb03c4c23 |
|
05-Mar-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Handle file cache related requests in the kernel. The actual calls to the file cache are missing yet -- requires some refactoring in Volume. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29402 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
023479477067cfbce3a46c496d6fbc82c1a98e6c |
|
03-Mar-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Implemented acquire_vnode() forwarding. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29391 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2bcdce290bc2207256d093b4fd06b3535daa4676 |
|
24-Feb-2009 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
First work towards adjusting the UserlandFS to the changed FS API. The kernel module compiles again, though newer features like VM file support, asynchronous I/O, and FS layers aren't supported yet. The userland code is still completely out of sync and won't even compile. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29318 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
636bfc08aeaaa7f1bab813c5aa2e8e666b40ec64 |
|
02-Oct-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Renamed fs/vfs_select.cpp to wait_for_objects.cpp and got rid of vfs_select.h, respectively moved most of it into the new kernel private header wait_for_objects.h. * Added new experimental API functions wait_for_objects[_etc](). They work pretty much like poll(), but also for semaphores, ports, and threads. * Removed the "ref" parameter from notify_select_events() and the select_sync_pool functions as well as from fd_ops::fd_[de]select(). It is no longer needed. The FS interface select() hook still has it, though -- the VFS will always pass 0. * de]select_fd() take a select_info* instead of a select_sync* + ref pair, now. Added respective functions for semaphores, ports, and threads. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22416 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
245aecda8ac43fc2c0c0bac6a7e4016efa9b71e1 |
|
21-Jun-2007 |
Axel Dörfler <axeld@pinc-software.de> |
Got rid of vnode_id and mount_id, replaced with ino_t and dev_t. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21485 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
97dd0fe3c8a9d971b75753a40e9d0f4278b46d66 |
|
01-Mar-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Adjusted according to the is_vnode_removed() -> get_vnode_removed() change. * The new notification functions are used instead of send_notification() and notify_listener() now. Mapped them in the BeOS kernel emulation accordingly. RamFS node monitoring seems to work now. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20298 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
042eb168965cf38c32b9355c199ebc197672bd2d |
|
28-Feb-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* More debug output in the kernel module. * Made publish_vnode() available in userland. For old style FS add-ons publish_vnode() is used when they request a new_vnode(). The semantics of new_vnode() changed considerably in Haiku, but publish_vnode() seems to do pretty much what the old new_vnode() did. * The UserlandFS hosted RamFS begins to work under Haiku. It runs pretty soon out of memory though (under vmware with 256 MB) and node monitoring is broken ATM. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20264 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b12d25d15dd11b61fae5f49bfa21d3c884cfdf63 |
|
25-Feb-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
First walk through the userlandfs kernel add-on to port it to the Haiku FS interface. Adjusted old hooks, but didn't add the new ones yet. The module builds now at least. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20235 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
83812f67529c88d4fb4b942162a9f21142e683fa |
|
23-Feb-2007 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Copied userlandfs code from the test tree to the haiku source tree, where it will be ported to Haiku. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20216 a95241bf-73f2-0310-859d-f6bbb57e9c96
|