search for: xen_blkbk

Displaying 2 results from an estimated 2 matches for "xen_blkbk".

Did you mean: xen_blk
2013 Feb 28
1
[PATCH RFC 09/12] xen-blkback: move pending handles list from blkbk to pending_req
...req { struct list_head free_list; struct persistent_gnt *persistent_gnts[BLKIF_MAX_SEGMENTS_PER_REQUEST]; struct page *pages[BLKIF_MAX_SEGMENTS_PER_REQUEST]; + grant_handle_t grant_handles[BLKIF_MAX_SEGMENTS_PER_REQUEST]; }; #define BLKBACK_INVALID_HANDLE (~0) @@ -147,8 +148,6 @@ struct xen_blkbk { /* And its spinlock. */ spinlock_t pending_free_lock; wait_queue_head_t pending_free_wq; - /* And the grant handles that are available. */ - grant_handle_t *pending_grant_handles; }; static struct xen_blkbk *blkbk; @@ -226,7 +225,7 @@ static inline void remove_free_pages(struct xen_bl...
2012 Aug 16
0
[RFC v1 5/5] VBD: enlarge max segment per request in blkfront
...); +MODULE_PARM_DESC(blk_ring_type, "type of ring for blk device"); + /* Run-time switchable: /sys/module/blkback/parameters/ */ static unsigned int log_stats; module_param(log_stats, int, 0644); @@ -125,7 +129,7 @@ static struct pending_req *alloc_req(struct xen_blkif *blkif) struct xen_blkbk *blkbk = blkif->blkbk; struct pending_req *req = NULL; unsigned long flags; - unsigned int max_seg = BLKIF_MAX_SEGMENTS_PER_REQUEST; + unsigned int max_seg = blkif->ops->max_seg; spin_lock_irqsave(&blkbk->pending_free_lock, flags); if (!list_empty(&blkbk->pending_f...