diff options
author | Ming Lei <ming.lei@redhat.com> | 2023-02-20 07:14:13 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-02-21 19:27:23 +0300 |
commit | 9c7c4bc986932218fd0df9d2a100509772028fb1 (patch) | |
tree | 1fffdb2ef818c92118fd708200de3c3f64436da6 /block/bio.c | |
parent | 9e0c7efa5ea231d85c0d41693a5115b3b971717c (diff) | |
download | linux-9c7c4bc986932218fd0df9d2a100509772028fb1.tar.xz |
ublk: remove check IO_URING_F_SQE128 in ublk_ch_uring_cmd
sizeof(struct ublksrv_io_cmd) is 16bytes, which can be held in 64byte SQE,
so not necessary to check IO_URING_F_SQE128.
With this change, we get chance to save half SQ ring memory.
Fixed: 71f28f3136af ("ublk_drv: add io_uring based userspace block driver")
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20230220041413.1524335-1-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bio.c')
0 files changed, 0 insertions, 0 deletions