History log of /haiku/headers/os/storage/NodeMonitor.h
Revision Date Author Comments
# 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.


# 5efee6df 18-Jun-2014 John Scipione <jscipione@gmail.com>

NodeMonitor: Revert enums back to #defines

While enums are presented much more clearly in the docs and the values didn't
change this apparently caused some issues so we're going back to using #defines.

Also update the docs changing the \var tags to \def tag and putting the description
in a \brief tag.


# a30a4a41 18-Jun-2014 John Scipione <jscipione@gmail.com>

Style fixes to Storage Kit classes.

No functional changes intended.

* Some variable renaming for clarity and consistency.
* Pointer style fixes.
* Added private method documentation back to cpp files for some methods.


# fc982701 08-Feb-2013 John Scipione <jscipione@gmail.com>

Moved NodeMonitor docs to Haiku Book.


# d221a261 06-Aug-2012 Philippe Saint-Pierre <stpere@gmail.com>

Style fix


# bfff9df5 23-Oct-2010 Clemens Zeidler <clemens.zeidler@googlemail.com>

As suggested by Ingo use a B_WATCH_VOLUME flag to tell the kernel to watch
the whole volume. Kernel part follows.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39106 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 33d9a03d 19-Oct-2010 Clemens Zeidler <clemens.zeidler@googlemail.com>

Add a watch_volume method to the node monitor to be able to watch node changes on a whole volume and not only for one node.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39020 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 351b7a2d 25-Feb-2008 Axel Dörfler <axeld@pinc-software.de>

* Added B_WATCH_INTERIM_STAT, and B_STAT_INTERIM_UPDATE definitions to
NodeMonitor.h.
* The latter will be set in "statFields" for interim updates when you have
asked to get them via the former.
* BFS now uses the B_STAT_INTERIM_UPDATE flag for sending updates to actively
written files.
* This makes us more compatible with BeOS again; if you only asked for
B_WATCH_STAT, you will now only receive a notification if the file in
question has been closed.
* Tracker now uses B_WATCH_INTERIM_STAT to always get all updates (ie.
downloading a file will update its size and modification time in Tracker
periodically during the download).
* Wether "needsTrimming" was true or not has no influence on wether or not
the size index needs to be updated in BFS - only the actual file size is
stored there, not the on-disk size.
* Added a TODO comment in Inode::WriteAt() that it would actually need to
update the size index when changing the file size, not when the file has
been closed (but that's probably too slow).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24114 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 13bbbbf5 02-Feb-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

The curse of aging... a trembling hand. ;-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11217 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 95bac3fd 02-Feb-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Haiku will provide more information for B_ATTR_CHANGED and B_STAT_CHANGED events.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11216 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e5430a08 26-Jun-2003 Axel Dörfler <axeld@pinc-software.de>

Exports the userland C++ API only when included for userland usage.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3673 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 39de2009 17-Jan-2003 Axel Dörfler <axeld@pinc-software.de>

Now you can really include it from the kernel.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2474 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 31f5d420 17-Jan-2003 Axel Dörfler <axeld@pinc-software.de>

Redone the NodeMonitor.h header file to suit our needs (it can now also be
included from standard C).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2471 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d734a8ce 23-Oct-2002 beveloper <beveloper@nowhere.fake>

some header files to be R5 compatible


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1617 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5efee6dfb0f529bef8e671ca8a7c1cf6d1328a3a 18-Jun-2014 John Scipione <jscipione@gmail.com>

NodeMonitor: Revert enums back to #defines

While enums are presented much more clearly in the docs and the values didn't
change this apparently caused some issues so we're going back to using #defines.

Also update the docs changing the \var tags to \def tag and putting the description
in a \brief tag.


# a30a4a41f948ebb03b95dab065a27a584ac0c97a 18-Jun-2014 John Scipione <jscipione@gmail.com>

Style fixes to Storage Kit classes.

No functional changes intended.

* Some variable renaming for clarity and consistency.
* Pointer style fixes.
* Added private method documentation back to cpp files for some methods.


# fc9827011d04d5f203964499e9b823b395d63aaa 08-Feb-2013 John Scipione <jscipione@gmail.com>

Moved NodeMonitor docs to Haiku Book.


# d221a261ff6c2a03a8e3e169192e2dfafcaca720 06-Aug-2012 Philippe Saint-Pierre <stpere@gmail.com>

Style fix


# bfff9df5eb4827fed4c56d92c2601327d37df59a 23-Oct-2010 Clemens Zeidler <clemens.zeidler@googlemail.com>

As suggested by Ingo use a B_WATCH_VOLUME flag to tell the kernel to watch
the whole volume. Kernel part follows.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39106 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 33d9a03d72345215b44f29dccb051b88fbce5482 19-Oct-2010 Clemens Zeidler <clemens.zeidler@googlemail.com>

Add a watch_volume method to the node monitor to be able to watch node changes on a whole volume and not only for one node.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39020 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 351b7a2d2499a7c9929452009158a92ba9d66091 25-Feb-2008 Axel Dörfler <axeld@pinc-software.de>

* Added B_WATCH_INTERIM_STAT, and B_STAT_INTERIM_UPDATE definitions to
NodeMonitor.h.
* The latter will be set in "statFields" for interim updates when you have
asked to get them via the former.
* BFS now uses the B_STAT_INTERIM_UPDATE flag for sending updates to actively
written files.
* This makes us more compatible with BeOS again; if you only asked for
B_WATCH_STAT, you will now only receive a notification if the file in
question has been closed.
* Tracker now uses B_WATCH_INTERIM_STAT to always get all updates (ie.
downloading a file will update its size and modification time in Tracker
periodically during the download).
* Wether "needsTrimming" was true or not has no influence on wether or not
the size index needs to be updated in BFS - only the actual file size is
stored there, not the on-disk size.
* Added a TODO comment in Inode::WriteAt() that it would actually need to
update the size index when changing the file size, not when the file has
been closed (but that's probably too slow).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24114 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 13bbbbf5dc9f203225e71c939fec91e002c8455b 02-Feb-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

The curse of aging... a trembling hand. ;-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11217 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 95bac3fda53a4cb21880712d7b43f8c21db32a2e 02-Feb-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Haiku will provide more information for B_ATTR_CHANGED and B_STAT_CHANGED events.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11216 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e5430a086c769ea76c3944046b1f07cf049c1ae0 26-Jun-2003 Axel Dörfler <axeld@pinc-software.de>

Exports the userland C++ API only when included for userland usage.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3673 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 39de200904bb2d422120f8a13df3147d520791a1 17-Jan-2003 Axel Dörfler <axeld@pinc-software.de>

Now you can really include it from the kernel.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2474 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 31f5d420edd1625a5c211fceee69e943677593d2 17-Jan-2003 Axel Dörfler <axeld@pinc-software.de>

Redone the NodeMonitor.h header file to suit our needs (it can now also be
included from standard C).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2471 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d734a8ce5a83e48e17a2d0d6635090d48c5ad161 23-Oct-2002 beveloper <beveloper@nowhere.fake>

some header files to be R5 compatible


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1617 a95241bf-73f2-0310-859d-f6bbb57e9c96