vDPA: allow userspace query virito-block device
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 23 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | vDPA: report virtio-block capacity to user spacedrivers/ include/ include/ | +38 | 1 reply | |
| 2/10 | vDPA: report virtio-block max segment size to user spacedrivers/ include/ | +18 | 3 replies | |
| 3/10 | vDPA: report virtio-block block-size to user spacedrivers/ include/ | +19 | 1 reply | |
| 4/10 | vDPA: report virtio-block max segments in a request to user spacedrivers/ include/ | +18 | 1 reply | |
| 5/10 | vDPA: report virtio-block MQ info to user spacedrivers/ include/ | +17 | 1 reply | |
| 6/10 | vDPA: report virtio-block topology info to user spacedrivers/ include/ | +36 | 1 reply | |
| 7/10 | vDPA: report virtio-block discarding configuration to user spacedrivers/ include/ | +29 | 1 reply | |
| 8/10 | vDPA: report virtio-block write zeroes configuration to user spacedrivers/ include/ | +25 | 4 replies | |
| 9/10 | vDPA: report virtio-block read-only info to user spacedrivers/ include/ | +15 | 3 replies | |
| 10/10 | vDPA: report virtio-blk flush info to user spacedrivers/ include/ | +15 | 1 reply |
Reviews trailers per patch
6 of 10 patches have a Reviewed-by or Acked-by.
| Patch | Stefano Garzarella |
|---|---|
| 1/10 | R-b |
| 2/10 | |
| 3/10 | R-b |
| 4/10 | R-b |
| 5/10 | R-b |
| 6/10 | R-b |
| 7/10 | R-b |
| 8/10 | |
| 9/10 | |
| 10/10 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/10] vDPA: allow userspace query virito-block device
This series allows the user space applications query vDPA virtio-block device inforamtion.
testing on vdpa_sim_blk, iproute2 output:
sudo ./vdpa/vdpa dev config show -jp vdpa_blk0
{
"config": {
"vdpa_blk0": {
"capacity": 262144,
"segment size": 4096,
"block size": 512,
"max segments in a request": 32,
"num of queues": 1,
"logical blocks per physical block (log2)": 0, "offset of first aligned logical block": 0, "minimum io size": 1,
"optimal io size": 1,
"maximum discard sectors for a segment": 4294967295, "max discard segments in a command": 1, "discard sector alignment": 512,
"max write zeros sectors in a segment": 4294967295, "max write zero segments": 1,
"read only": false,
"flush command support": true
}
}
}
Please help review
Thanks
Zhu Lingshan
Zhu Lingshan (10):
vDPA: report virtio-block capacity to user space
vDPA: report virtio-block max segment size to user space
vDPA: report virtio-block block-size to user space
vDPA: report virtio-block max segments in a request to user space
vDPA: report virtio-block MQ info to user space
vDPA: report virtio-block topology info to user space
vDPA: report virtio-block discarding configuration to user space
vDPA: report virtio-block write zeroes configuration to user space
vDPA: report virtio-block read-only info to user space
vDPA: report virtio-blk flush info to user space
drivers/vdpa/vdpa.c | 212 ++++++++++++++++++++++++++++++++++++++ include/linux/vdpa.h | 1 + include/uapi/linux/vdpa.h | 17 +++ 3 files changed, 230 insertions(+)
Signature · 1 line
2.39.3