]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/blkback: Make optional features be really optional.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 14 Mar 2012 17:04:00 +0000 (13:04 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 19 Apr 2012 21:54:22 +0000 (17:54 -0400)
commitffb72025e4763b144359de78390241b8cf5535b0
treec3c3fa9ef39b1231e05f4e4422a679891a004a1a
parentffcf260cad8ec5ad61ef9a3bd5d00fff52891dd8
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.

[upstream git commit 3389bb8]
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>
Conflicts:

drivers/block/xen-blkback/xenbus.c
drivers/block/xen-blkback/xenbus.c