commit | 3389bb8bf76180eecaffdfa7dd5b35fa4a2ce9b5 | [log] [tgz] |
---|---|---|
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | Wed Mar 14 13:04:00 2012 -0400 |
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | Sat Mar 24 10:04:36 2012 -0400 |
tree | df274847cbd18b73bf45dde17dd17dd6a1e18a9b | |
parent | 4dae76705fc8f9854bb732f9944e7ff9ba7a8e9f [diff] |
xen/blkback: Make optional features be really optional. They were using the xenbus_dev_fatal() function which would change the state of the connection immediately. Which is not what we want when we advertise optional features. So make 'feature-discard','feature-barrier','feature-flush-cache' optional. Suggested-by: Jan Beulich <JBeulich@suse.com> [v1: Made the discard function void and static] Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>