diff options
author | Ming Lei <ming.lei@redhat.com> | 2025-05-20 12:54:35 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2025-05-20 10:24:45 -0600 |
commit | 8ccebc19ee3db03284504d340e5cd2de4141350b (patch) | |
tree | 38ccdbaf1f20b30b6f7a1aa679e81fa442b4eb7f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 53f427e7944b4f288866cc4a69835086e0958c6a (diff) |
selftests: ublk: support UBLK_F_AUTO_BUF_REG
Enable UBLK_F_AUTO_BUF_REG support for ublk utility by argument `--auto_zc`,
meantime support this feature in null, loop and stripe target code.
Add function test generic_08 for covering basic UBLK_F_AUTO_BUF_REG feature.
Also cover UBLK_F_AUTO_BUF_REG in stress_03, stress_04 and stress_05 test too.
'fio/t/io_uring -p0 /dev/ublkb0' shows that F_AUTO_BUF_REG can improve
IOPS by 50% compared with F_SUPPORT_ZERO_COPY in my test VM.
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20250520045455.515691-6-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions