Opened 15 years ago

Last modified 15 years ago

#5405 closed bug

Too many notifications after attribute change — at Initial Version

Reported by: laplace Owned by: axeld
Priority: normal Milestone: R1
Component: File Systems/BFS Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

With node monitoring enabled, changing an attribute triggers a B_STAT_CHANGED notification after B_ATTR_CHANGED.

The B_STAT_CHANGED notification message contains in field "fields" B_STAT_SIZE and B_STATE_MODIFICATION_TIME). AFAICT the file size did not change; maybe the modification time has changed; I cannot tell as Tracker does not display it.

This is an incompatibility to BeOS R5.

I had used B_STAT_CHANGED in an application as an easy indication that the contents of a file had changed. The application then tries to reload the file. However that application also updates some attributes after loading the file, which triggers now a B_STAT_CHANGED notification, which triggers a reload of the file, and so on...

Change History (0)

Note: See TracTickets for help on using tickets.