io_uring/fdinfo: include locked hash table in fdinfo output
authorJens Axboe <axboe@kernel.dk>
Tue, 10 Jan 2023 17:24:52 +0000 (10:24 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jan 2023 10:58:15 +0000 (11:58 +0100)
commit617401df46051dfb5dddfc74e06a2ffd93c8e376
tree3e40a34788878575676bc50581446e4dac448e82
parentf0f326dc9794cc5820e0804d8702d5a10fb84aca
io_uring/fdinfo: include locked hash table in fdinfo output

commit ea97cbebaf861d99c3e892275147e6fca6d2c1ca upstream.

A previous commit split the hash table for polled requests into two
parts, but didn't get the fdinfo output updated. This means that it's
less useful for debugging, as we may think a given request is not pending
poll.

Fix this up by dumping the locked hash table contents too.

Fixes: 9ca9fb24d5fe ("io_uring: mutex locked poll hashing")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
io_uring/fdinfo.c