dm crypt: disable barriers
authorMilan Broz <mbroz@redhat.com>
Wed, 9 May 2007 09:32:51 +0000 (02:32 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 9 May 2007 19:30:46 +0000 (12:30 -0700)
commit9c89f8be1a7d14aad9d2c3f7d90d7d88f82c61e2
tree0e94f77a0d9fda323b12dd4e26f0e08aa2fff7ef
parent6ad36fe2b451cc85cc7b14f4128286759e217124
dm crypt: disable barriers

Disable barriers in dm-crypt because of current workqueue processing can
reorder requests.

This must be addresed later but for now disabling barriers is needed to
prevent data corruption.

Signed-off-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/md/dm-crypt.c