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)
commit1c849b481b3e4f8c36f297cd3aa88ef52a19cee9
tree9a9e425148c5837aa780ac99d4f10d4cb72caba4
parente053aaf4da56cbf0afb33a0fda4a62188e2c0637
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