]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: change ring size calculation for CQE32
authorStefan Roesch <shr@fb.com>
Tue, 26 Apr 2022 18:21:25 +0000 (11:21 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 9 May 2022 12:35:34 +0000 (06:35 -0600)
commit270852a02fc3689a9161be32ed154df2748f7909
tree9819b95225ed3768c8b7e0391525ea19c94e2b45
parentc3185a873f2dd2d2a3882f14208cc626b58b1bab
io_uring: change ring size calculation for CQE32

This changes the function rings_size to take large CQE's into account.

Co-developed-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Stefan Roesch <shr@fb.com>
Reviewed-by: Kanchan Joshi <joshi.k@samsung.com>
Link: https://lore.kernel.org/r/20220426182134.136504-4-shr@fb.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c