From b436f8483bff199d0c6cf04724862877d89cb63a Mon Sep 17 00:00:00 2001 From: Zygo Blaxell Date: Mon, 4 Oct 2021 20:38:32 -0400 Subject: [PATCH] docs: add `readahead_` event group readahead and unreadahead have new event counters. Document them. Signed-off-by: Zygo Blaxell --- docs/event-counters.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/event-counters.md b/docs/event-counters.md index 1471a6a..be2ace4 100644 --- a/docs/event-counters.md +++ b/docs/event-counters.md @@ -258,6 +258,14 @@ The `pairforward` event group consists of events related to extending matching b * `pairforward_try`: Started extending a pair of matching block ranges forward. * `pairforward_zero`: A pair of matching block ranges could not be extended backward by one block because the src block contained all zeros and was not compressed. +readahead +--------- + +The `readahead` event group consists of events related to calls to `posix_fadvise`. + + * `readahead_ms`: Total time spent running `posix_fadvise(..., POSIX_FADV_WILLNEED)` aka `readahead()`. + * `readahead_unread_ms`: Total time spent running `posix_fadvise(..., POSIX_FADV_DONTNEED)`. + replacedst ----------