[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] qdisk vs. file as vbd type
[ removing Li who is no longer with Novell ] On Fri, Jan 10, Konrad Rzeszutek Wilk wrote: > You are looking at: > ed30bf317 (Li Dongyang 2011-09-01 18:39:09 +0800 1664) } > else if (strncmp(type, "file", 4) == 0) > ed30bf317 (Li Dongyang 2011-09-01 18:39:09 +0800 1665) > info->feature_discard = 1; > ed30bf317 (Li Dongyang 2011-09-01 18:39:09 +0800 1666) > ed30bf317 (Li Dongyang 2011-09-01 18:39:09 +0800 1667) > kfree(type); > ed30bf317 (Li Dongyang 2011-09-01 18:39:09 +0800 1668)} > ed30bf317 (Li Dongyang 2011-09-01 18:39:09 +0800 1669) > > My recollection is that at the time the patches were developed, loop > was not able to do discard operations. That has since changed and > loop can do it. Hence the force of =1 was added in. If the backend cant do discard then it should not advertise the feature. Are you ok with me sending a patch which simplifies this function? Olaf _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |