add zv2404fs.c and fio

This commit is contained in:
wangbojing
2024-08-06 14:35:59 +00:00
parent 5f520127a8
commit 2871adf324
9 changed files with 197 additions and 0 deletions

35
fio_script/zvfs.json Executable file
View File

@@ -0,0 +1,35 @@
{
"subsystems": [
{
"subsystem": "bdev",
"config": [
{
"method": "bdev_nvme_attach_controller",
"params":
{
"trtype": "PCIe",
"name":"Nvme0",
"traddr":"0000:03:00.0"
}
},
{
"method": "bdev_malloc_create",
"params": {
"name": "Malloc0",
"num_blocks": 2097152,
"block_size": 512
}
},
{
"method": "bdev_zone_block_create",
"params": {
"base_bdev": "Malloc0",
"name": "Zone0",
"zone_capacity": 262144,
"optimal_open_zones": 8
}
}
]
}
]
}