linux/drivers/block/xen-blkback
Konrad Rzeszutek Wilk 3389bb8bf7 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>
2012-03-24 10:04:36 -04:00
..
blkback.c xen/blkback: Squash the discard support for 'file' and 'phy' type. 2012-03-24 10:04:35 -04:00
common.h xen/blkback: Squash the discard support for 'file' and 'phy' type. 2012-03-24 10:04:35 -04:00
Makefile xen/blkback: Squash vbd.c,interface.c in blkback.c and xenbus.c respectivly. 2011-04-20 11:57:59 -04:00
xenbus.c xen/blkback: Make optional features be really optional. 2012-03-24 10:04:36 -04:00