2022-01-05 10:21:21

by zhenggy

[permalink] [raw]
Subject: [PATCH] io_uring: remove redundant tap space

When show fdinfo, SqMask follow two tap space, Inconsistent with
other paras, remove one.

Signed-off-by: GuoYong Zheng <[email protected]>
---
fs/io_uring.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/io_uring.c b/fs/io_uring.c
index e6fb1bb..78a6181 100644
--- a/fs/io_uring.c
+++ b/fs/io_uring.c
@@ -10553,7 +10553,7 @@ static __cold void __io_uring_show_fdinfo(struct io_ring_ctx *ctx,
* and sq_tail and cq_head are changed by userspace. But it's ok since
* we usually use these info when it is stuck.
*/
- seq_printf(m, "SqMask:\t\t0x%x\n", sq_mask);
+ seq_printf(m, "SqMask:\t0x%x\n", sq_mask);
seq_printf(m, "SqHead:\t%u\n", sq_head);
seq_printf(m, "SqTail:\t%u\n", sq_tail);
seq_printf(m, "CachedSqHead:\t%u\n", ctx->cached_sq_head);
--
1.8.3.1



2022-01-05 19:32:40

by Jens Axboe

[permalink] [raw]
Subject: Re: [PATCH] io_uring: remove redundant tap space

On Wed, 5 Jan 2022 18:13:05 +0800, GuoYong Zheng wrote:
> When show fdinfo, SqMask follow two tap space, Inconsistent with
> other paras, remove one.
>
>

Applied, thanks!

[1/1] io_uring: remove redundant tap space
commit: c0235652ee5194fc75926daa580817e63ceb37ab

Best regards,
--
Jens Axboe