[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100112163828.GA14633@infradead.org>
Date: Tue, 12 Jan 2010 11:38:28 -0500
From: Christoph Hellwig <hch@...radead.org>
To: Michal Novotny <minovotn@...hat.com>
Cc: Christoph Hellwig <hch@...radead.org>,
Ric Wheeler <rwheeler@...hat.com>, linux-ext4@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] extend e2fsprogs functionality to add EXT2_FLAG_DIRECT
option
Ok, I looked at the issue. The problem is that the Xen backend drivers
are (as expected) utterly braindead and submit bios directly from the
virtualization backed without using proper abstractions and thus
bypassing all the cache coherency features in the fileystems (the block
device nodes are just another mini-filesystem in that respect). So
when you first have buffered access in the host pages may stay in cache
and get overwritten directly on disk by a Xen guest, and once the guest
is down the host may still use the now stale cached data.
I would recommend to migrate your cutomers to KVM which uses the proper
abtractions and thus doesn't have this problem. There's a reason after
all why all the Xen dom0 mess never got merged to mainline.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists