From 8bd527fcfa3e69cdfdaa2fd7869631d1e9c12287 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Fri, 22 Oct 2010 10:58:33 +0200 Subject: [PATCH] --- yaml --- r: 213217 b: refs/heads/master c: 005a1d15f5a6b2bb4ada80349513effbf22b4588 h: refs/heads/master i: 213215: d2dea68a064361f4e202a8f5c7dd82b282e4712b v: v3 --- [refs] | 2 +- trunk/drivers/block/xen-blkfront.c | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 9eeee4d386fa..49f6658650e4 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4d1529043705737ba442f5a0048043718e601ce4 +refs/heads/master: 005a1d15f5a6b2bb4ada80349513effbf22b4588 diff --git a/trunk/drivers/block/xen-blkfront.c b/trunk/drivers/block/xen-blkfront.c index f2ffc46644df..739b4c1416ea 100644 --- a/trunk/drivers/block/xen-blkfront.c +++ b/trunk/drivers/block/xen-blkfront.c @@ -1067,8 +1067,15 @@ static void blkfront_connect(struct blkfront_info *info) * If there are barriers, then we use flush. */ info->feature_flush = 0; + + /* + * The driver doesn't properly handled empty flushes, so + * lets disable barrier support for now. + */ +#if 0 if (!err && barrier) info->feature_flush = REQ_FLUSH; +#endif err = xlvbd_alloc_gendisk(sectors, info, binfo, sector_size); if (err) {