]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: Add tracepoint for short writes
authorStefan Roesch <shr@fb.com>
Thu, 16 Jun 2022 21:22:19 +0000 (14:22 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jul 2022 00:39:32 +0000 (18:39 -0600)
commitbec8f567e4218423c666550ebf8de65d9a55bdbc
tree9a9e425148c5837aa780ac99d4f10d4cb72caba4
parent52ba08b694b9a2b61c3952afb6d8ff155bc1e341
io_uring: Add tracepoint for short writes

This adds the io_uring_short_write tracepoint to io_uring. A short write
is issued if not all pages that are required for a write are in the page
cache and the async buffered writes have to return EAGAIN.

Signed-off-by: Stefan Roesch <shr@fb.com>
Link: https://lore.kernel.org/r/20220616212221.2024518-13-shr@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/trace/events/io_uring.h
io_uring/rw.c