Re: [Xen-devel] [PATCH] xen-blkfront: feature flags handling adjustments

2017-01-24 Thread Roger Pau Monne
On Mon, Jan 23, 2017 at 08:12:19AM -0700, Jan Beulich wrote: > Don't truncate the "feature-persistent" value read from xenstore: Any > non-zero value is supposed to enable the feature, just like is already > being done for feature_secdiscard. > > Just like the other feature_* fields, feature_flush

[Xen-devel] [PATCH] xen-blkfront: feature flags handling adjustments

2017-01-23 Thread Jan Beulich
Don't truncate the "feature-persistent" value read from xenstore: Any non-zero value is supposed to enable the feature, just like is already being done for feature_secdiscard. Just like the other feature_* fields, feature_flush and feature_fua are boolean flags, and hence fit well into a single bi