Re: linux-next regression: IO errors in with ext4 and xen-blkfront

From: Christoph Hellwig
Date: Fri Oct 22 2010 - 04:29:39 EST


In the barriers tree Xen claims to support flushes, but I doesn't.
It never handles REQ_FLUSH requests. Try commenting out the

blk_queue_flush(info->rq, info->feature_flush);

call and things should improve. I still need to hear back from Xen
folks how to actually implement a cache flush - they only implement
a barrier write privilegue which could never implement an empty
cache flush. Up to current kernels that meant it would implement
barrier writes with content correctly and silently ignore empty barriers
leading to very interesting data integrity bugs. From 2.6.37 onwards
it simply won't work anymore at all, which is at least consistent
(modulo the bug of actually claiming to support flushes).

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/