Skip to content

Commit

Permalink
common/ublk: move _io_uring_enable at the beginning of _init_ublk
Browse files Browse the repository at this point in the history
Signed-off-by: Yi Zhang <yi.zhang@redhat.com>
  • Loading branch information
yizhanglinux committed Dec 13, 2024
1 parent ce2766b commit f663dad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/ublk
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ _get_ublk_daemon_pid() {
}

_init_ublk() {
_io_uring_enable

_remove_ublk_devices > /dev/null 2>&1

modprobe -rq ublk_drv
Expand All @@ -39,8 +41,6 @@ _init_ublk() {

udevadm settle

_io_uring_enable

return 0
}

Expand Down

0 comments on commit f663dad

Please # to comment.