Description[fsp] Allow to create multiple observers for a directory, up to one per origin.
This patch allows to create multiple subscribers for observed entry change
notifications, up to one per origin for the same entry. Eg. multiple extensions
may want to observe the same directory.
Also, the persistent argument is introduced. Persistent subscriber mean, that the
origin is watching the entry persistently, despite reboots. It will be used by
cache only.
Extensions should never use persistent origins. Such subscribers will be removed
on reboot.
TEST=unit_tests: *FileSystemProvider*Registry*,
*FileSystemProvider*ProvidedFileSystem*
BUG=248427
Committed: https://crrev.com/70fb5591df0082b01e07f77b62da97de1fa4d416
Cr-Commit-Position: refs/heads/master@{#301586}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Fixed. #
Total comments: 4
Patch Set 3 : Fixed. #
Total comments: 4
Patch Set 4 : Fixed. #
Total comments: 4
Patch Set 5 : Addressed comments + fixed tests. #Messages
Total messages: 14 (2 generated)
|