search for: blkif_back_rings

Displaying 5 results from an estimated 5 matches for "blkif_back_rings".

2012 Aug 16
0
[RFC v1 3/5] VBD: enlarge max segment per request in blkfront
...ck_io_op(struct bio *bio, int error) bio_put(bio); } +void *get_back_ring(struct xen_blkif *blkif) +{ + return (void *)&blkif->blk_rings; +} +void copy_blkif_req(struct xen_blkif *blkif, RING_IDX rc) +{ + struct blkif_request *req = (struct blkif_request *)blkif->req; + union blkif_back_rings *blk_rings = &blkif->blk_rings; + switch (blkif->blk_protocol) { + case BLKIF_PROTOCOL_NATIVE: + memcpy(req, RING_GET_REQUEST(&blk_rings->native, rc), + sizeof(struct blkif_request)); + break; + case BLKIF_PROTOCOL_X86_32: + blkif_g...
2012 Aug 16
0
[RFC v1 5/5] VBD: enlarge max segment per request in blkfront
...equest *req = (struct blkif_request *)blkif->req; @@ -506,12 +518,48 @@ void copy_blkif_req(struct xen_blkif *blkif, RING_IDX rc) } } +void copy_blkif_req_v2(struct xen_blkif *blkif, RING_IDX rc) +{ + struct blkif_request_header *req = (struct blkif_request_header *)blkif->req; + union blkif_back_rings_v2 *blk_rings = &blkif->blk_rings_v2; + switch (blkif->blk_protocol) { + case BLKIF_PROTOCOL_NATIVE: + memcpy(req, RING_GET_REQUEST(&blk_rings->native, rc), + sizeof(struct blkif_request_header)); + break; + case BLKIF_PROTOCOL_X86_32: + blkif_get_x86_32_req_v2(req, RING_GET_R...
2011 May 02
32
[PATCH] blkback: Fix block I/O latency issue
In blkback driver, after I/O requests are submitted to Dom-0 block I/O subsystem, blkback goes to ''sleep'' effectively without letting blkfront know about it (req_event isn''t set appropriately). Hence blkfront doesn''t notify blkback when it submits a new I/O thus delaying the ''dispatch'' of the new I/O to Dom-0 block I/O subsystem. The new I/O is
2013 Jul 15
6
[PATCH 0 of 6 RESEND v2] blktap3/sring: shared ring between tapdisk and the front-end
This patch series introduces the shared ring used by the front-end to pass request descriptors to tapdisk, as well as responses from tapdisk to the front-end. Requests from this ring end up in tapdisk''s standard request queue. When the tapback daemon detects that the front-end tries to connect to the back-end, it spawns a tapdisk and tells it to connect to the shared ring. The shared
2011 Sep 01
9
[PATCH V4 0/3] xen-blkfront/blkback discard support
Dear list, This is the V4 of the trim support for xen-blkfront/blkback, Now we move BLKIF_OP_TRIM to BLKIF_OP_DISCARD, and dropped all "trim" stuffs in the patches, and use "discard" instead. Also we updated the helpers of blkif_x86_{32|64}_request or we will meet problems using a non-native protocol. And this patch has been tested with both SSD and raw file, with SSD we will