On 02/23/2011 06:01 PM, James Ralston wrote:
On 2011-02-23 at 13:41-05 Peter Jones<pjones(a)redhat.com>
wrote:
> dm-crypt still just throws REQ_FLUSH away instead of figuring out
> the block remaps involved and issuing the right bios. Of course,
> this is a problem with dm-crypt and _any_ filesystem.
Are you sure that's still the case?
Well, when I said "So, don't hold me to this, but it looks as if..." in
the sentence before the one you quoted, I was attempting to imply that
I was not, in fact, sure, and had only done the most trivial read of the
code in question.
Because this patchset appears to add REQ_FLUSH support to dm:
http://www.redhat.com/archives/dm-devel/2010-August/msg00303.html
...and that patchset is included in 2.6.38-rc6.
The second patch in that patchset is the one I referenced in the email
you're replying to. But I guess I misread it and it does seem to say it
fixes dm-crypt as well.
--
Peter
The Shuttle is now going five times the sound of speed.
-- Dan Rather, first landing of Columbia