Searched hist:e7fe85643735ffdcf18ebef81343eaac9b8d2584 (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/dev/xen/blkback/ |
H A D | blkback.c | diff e7fe85643735ffdcf18ebef81343eaac9b8d2584 Mon Aug 26 13:57:36 CEST 2024 Roger Pau Monné <royger@FreeBSD.org> xen/blk{front,back}: fix usage of sector sizes different than 512b
The units of the size reported in the 'sectors' xenbus node is always 512b, regardless of the value of the 'sector-size' node. The sector offsets in the ring requests are also always based on 512b sectors, regardless of the 'sector-size' reported in xenbus.
Fix both blkfront and blkback to assume 512b sectors in the required fields.
The blkif.h public header has been recently updated in upstream Xen repository to fix the regressions in the specification introduced by later modifications, and clarify the base units of xenstore and shared ring fields.
PR: 280884 Reported by: Christian Kujau MFC after: 1 week Sponsored by: Cloud Software Group Reviewed by: markj Differential revision: https://reviews.freebsd.org/D46756
|
/freebsd/sys/dev/xen/blkfront/ |
H A D | blkfront.c | diff e7fe85643735ffdcf18ebef81343eaac9b8d2584 Mon Aug 26 13:57:36 CEST 2024 Roger Pau Monné <royger@FreeBSD.org> xen/blk{front,back}: fix usage of sector sizes different than 512b
The units of the size reported in the 'sectors' xenbus node is always 512b, regardless of the value of the 'sector-size' node. The sector offsets in the ring requests are also always based on 512b sectors, regardless of the 'sector-size' reported in xenbus.
Fix both blkfront and blkback to assume 512b sectors in the required fields.
The blkif.h public header has been recently updated in upstream Xen repository to fix the regressions in the specification introduced by later modifications, and clarify the base units of xenstore and shared ring fields.
PR: 280884 Reported by: Christian Kujau MFC after: 1 week Sponsored by: Cloud Software Group Reviewed by: markj Differential revision: https://reviews.freebsd.org/D46756
|