diff options
author | Jeff Hostetler <jeffhost@microsoft.com> | 2022-03-25 18:02:57 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-03-25 16:04:16 -0700 |
commit | bec486b9c13c51b7eca0231ed4b7dac75deaf6a6 (patch) | |
tree | eb0c64d8bff962ab2f93d01c3dc25135c4cf31ed /Documentation/pull-fetch-param.txt | |
parent | fsmonitor--daemon: define token-ids (diff) | |
download | tgif-bec486b9c13c51b7eca0231ed4b7dac75deaf6a6.tar.xz |
fsmonitor--daemon: create token-based changed path cache
Teach fsmonitor--daemon to build a list of changed paths and associate
them with a token-id. This will be used by the platform-specific
backends to accumulate changed paths in response to filesystem events.
The platform-specific file system listener thread receives file system
events containing one or more changed pathnames (with whatever
bucketing or grouping that is convenient for the file system). These
paths are accumulated (without locking) by the file system layer into
a `fsmonitor_batch`.
When the file system layer has drained the kernel event queue, it will
"publish" them to our token queue and make them visible to concurrent
client worker threads. The token layer is free to combine and/or de-dup
paths within these batches for efficient presentation to clients.
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/pull-fetch-param.txt')
0 files changed, 0 insertions, 0 deletions