diff options
| author | Pavel Begunkov <asml.silence@gmail.com> | 2026-07-22 14:42:15 +0100 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-07-22 09:48:41 -0600 |
| commit | af78c0020480aba3132fb9fa4db0fd1fb949feaa (patch) | |
| tree | ea0dd7cd256bc3d4247741de031e157075e5ec4f /io_uring/query.c | |
| parent | ab05caca123c6d0b41850b7c05b246e4dca4a770 (diff) | |
io_uring/zcrx: drop "notif" from stats struct names
Keep zcrx statistics generic and don't stick "notif" to its uapi
definitions. Stats dosn't need to be bound to notification details,
it makes it cleaner and more readable.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://patch.msgid.link/6a39676b6f71b67d3f89c6ebab7a3739873834a3.1784726895.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/query.c')
| -rw-r--r-- | io_uring/query.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/io_uring/query.c b/io_uring/query.c index d529d94aa8f4..2e48fddd8d3a 100644 --- a/io_uring/query.c +++ b/io_uring/query.c @@ -50,8 +50,8 @@ static ssize_t io_query_zcrx_notif(union io_query_data *data) struct io_uring_query_zcrx_notif *e = &data->zcrx_notif; e->notif_flags = ZCRX_NOTIF_TYPE_MASK; - e->notif_stats_size = sizeof(struct zcrx_notif_stats); - e->notif_stats_off_alignment = __alignof__(struct zcrx_notif_stats); + e->stats_size = sizeof(struct zcrx_stats); + e->stats_off_alignment = __alignof__(struct zcrx_stats); e->__resv1 = 0; memset(&e->__resv2, 0, sizeof(e->__resv2)); return sizeof(*e); |
