search for: pers_grant

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

Did you mean: pers_grants
2012 Nov 02
2
[PATCH] xen-blk: persistent-grants fixes
...vers/block/xen-blkback/xenbus.c @@ -760,7 +760,7 @@ static int connect_ring(struct backend_info *be) return -1; } err = xenbus_gather(XBT_NIL, dev->otherend, - "feature-persistent-grants", "%u", + "feature-persistent", "%u", &pers_grants, NULL); if (err) pers_grants = 0; diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c index 911d733..f1de806 100644 --- a/drivers/block/xen-blkfront.c +++ b/drivers/block/xen-blkfront.c @@ -852,6 +852,7 @@ static void blkif_completion(struct blk_shadow *s, struct blkfront...
2012 Sep 19
27
[PATCH] Persistent grant maps for xen blk drivers
...typename instead */ err = xenbus_printf(xbt, dev->nodename, "info", "%u", be->blkif->vbd.type | @@ -721,6 +728,7 @@ static int connect_ring(struct backend_info *be) struct xenbus_device *dev = be->dev; unsigned long ring_ref; unsigned int evtchn; + u8 pers_grants; char protocol[64] = ""; int err; @@ -750,8 +758,17 @@ static int connect_ring(struct backend_info *be) xenbus_dev_fatal(dev, err, "unknown fe protocol %s", protocol); return -1; } - pr_info(DRV_PFX "ring-ref %ld, event-channel %d, protocol %d (%s)\n", -...