]> git.baikalelectronics.ru Git - kernel.git/commit
cachefiles: add tracepoints for on-demand read mode
authorJeffle Xu <jefflexu@linux.alibaba.com>
Mon, 25 Apr 2022 12:21:29 +0000 (20:21 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Tue, 17 May 2022 16:11:18 +0000 (00:11 +0800)
commit34ab8352eb9a243ac3fc7cf39c116d679c76bf01
tree3e4f9b763b2e473ffe8f93064b3f5e8581ad007b
parentc645175d4afeea712fe1530f1c8b3aa272596213
cachefiles: add tracepoints for on-demand read mode

Add tracepoints for on-demand read mode. Currently following tracepoints
are added:

OPEN request / COPEN reply
CLOSE request
READ request / CREAD reply
write through anonymous fd
release of anonymous fd

Signed-off-by: Jeffle Xu <jefflexu@linux.alibaba.com>
Acked-by: David Howells <dhowells@redhat.com>
Link: https://lore.kernel.org/r/20220425122143.56815-8-jefflexu@linux.alibaba.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
fs/cachefiles/ondemand.c
include/trace/events/cachefiles.h