Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: [Xen-devel] [PATCH] xen: add persistent grants to xbd_xenbus
On 12/11/12 16:33, Ian Campbell wrote:
> On Sun, 2012-11-04 at 22:23 +0000, Roger Pau Monne wrote:
>> @@ -652,6 +686,15 @@ xbd_connect(struct xbd_xenbus_softc *sc)
>> else
>> sc->sc_cache_flush = 0;
>>
>> + err = xenbus_read_ul(NULL, sc->sc_xbusd->xbusd_otherend,
>> + "feature-persistent", &feature_persistent, 10);
>> + if (err)
>> + feature_persistent = 0;
>> + if (feature_persistent > 0)
>> + sc->sc_persistent_grants = 1;
>> + else
>> + sc->sc_persistent_grants = 0;
>
> I can't find anywhere which reads sc->sc_persistent_grants?
I've added this to be used for debugging mainly, but I think we should
probably print it, to know if the backend supports persistent grants or
not (like the Linux kernel does).
Home |
Main Index |
Thread Index |
Old Index