Skip to content

Commit

Permalink
common/ublk: update io_uring setting during the tests
Browse files Browse the repository at this point in the history
Signed-off-by: Yi Zhang <[email protected]>
  • Loading branch information
yizhanglinux committed Dec 9, 2024
1 parent eaf9d97 commit f002694
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions common/ublk
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,15 @@ _init_ublk() {
fi

udevadm settle

io_uring_enable

return 0
}

_exit_ublk() {
_remove_ublk_devices
udevadm settle
modprobe -r -q ublk_drv
_io_uring_restore
}

0 comments on commit f002694

Please sign in to comment.