aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/block/xen-blkfront.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c
index f2ffc46644df..739b4c1416ea 100644
--- a/drivers/block/xen-blkfront.c
+++ b/drivers/block/xen-blkfront.c
@@ -1067,8 +1067,15 @@ static void blkfront_connect(struct blkfront_info *info)
1067 * If there are barriers, then we use flush. 1067 * If there are barriers, then we use flush.
1068 */ 1068 */
1069 info->feature_flush = 0; 1069 info->feature_flush = 0;
1070
1071 /*
1072 * The driver doesn't properly handled empty flushes, so
1073 * lets disable barrier support for now.
1074 */
1075#if 0
1070 if (!err && barrier) 1076 if (!err && barrier)
1071 info->feature_flush = REQ_FLUSH; 1077 info->feature_flush = REQ_FLUSH;
1078#endif
1072 1079
1073 err = xlvbd_alloc_gendisk(sectors, info, binfo, sector_size); 1080 err = xlvbd_alloc_gendisk(sectors, info, binfo, sector_size);
1074 if (err) { 1081 if (err) {