mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-05 19:47:53 +00:00
Merge pull request #7500 from pmores/fix-queue-num-in-dragonball-share-fs
fix number of queues handling in dragonball share fs device
This commit is contained in:
commit
24bf637835
@ -313,7 +313,7 @@ impl DragonballInner {
|
|||||||
sock_path: config.sock_path.clone(),
|
sock_path: config.sock_path.clone(),
|
||||||
tag: config.mount_tag.clone(),
|
tag: config.mount_tag.clone(),
|
||||||
num_queues: if config.queue_num > 0 {
|
num_queues: if config.queue_num > 0 {
|
||||||
config.queue_size as usize
|
config.queue_num as usize
|
||||||
} else {
|
} else {
|
||||||
DEFAULT_VIRTIO_FS_NUM_QUEUES as usize
|
DEFAULT_VIRTIO_FS_NUM_QUEUES as usize
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user