|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH 0/6] Align blkif protocol values to 512B sectors
Xen revision 221f2748e8da deprecated feature-large-sector-size and clarified that all protocol-level sector sizes are based on 512-byte units. This is the behavior observed on Linux blkback, and deviating from this will lead to corrupting the virtual disk. Tested on Linux blkback with a loop device using 4K blocksize. The guest used a purely emulated disk "xvdz", as QEMU doesn't support more than 512B logical sector size in emulated devices. Note that Qdisk is still broken wrt. 221f2748e8da. Tu Dinh (6): Update to latest blkif.h Stop reporting feature-large-sector-size Align blkif protocol values to 512B sectors Centralize VBD extent checking xencrsh: Stop reporting feature-large-sector-size xencrsh: Align blkif protocol values to 512B sectors include/xen/io/blkif.h | 103 ++++++++++++++++++++++++++++------------- src/xencrsh/frontend.c | 30 ++++++------ src/xencrsh/frontend.h | 10 +++- src/xencrsh/pdo.c | 103 +++++++++++++++++++++++++++-------------- src/xenvbd/frontend.c | 90 +++++++++++++++++++++-------------- src/xenvbd/frontend.h | 36 +++++++++++++- src/xenvbd/ring.c | 60 ++++++++++++------------ src/xenvbd/target.c | 37 ++++++++------- 8 files changed, 302 insertions(+), 167 deletions(-) -- 2.54.0.windows.1 -- Ngoc Tu Dinh | Vates XCP-ng Developer XCP-ng & Xen Orchestra - Vates solutions web: https://vates.tech
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |