From: Lars Ellenberg Date: Wed, 27 Mar 2013 13:08:41 +0000 (+0100) Subject: drbd: only fail empty flushes if no good data is reachable X-Git-Tag: omap-for-v3.10/fixes-for-merge-window-part2~10^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7074e4a745799d521b17775f6d076d84dc7f8c50;p=pandora-kernel.git drbd: only fail empty flushes if no good data is reachable We completed empty flushes (blkdev_issue_flush()) with IO error if we lost the local disk, even if we still have an established replication link to a healthy remote disk. Fix this to only report errors to upper layers, if neither local nor remote data is reachable. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg Signed-off-by: Jens Axboe --- Reading git-diff-tree failed