diff options
author | Milan Broz <mbroz@redhat.com> | 2011-09-26 00:26:21 +0200 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2011-09-26 00:26:21 +0200 |
commit | 983c7db347db8ce2d8453fd1d89b7a4bb6920d56 (patch) | |
tree | f4302d7eb306b82db4227ba5defe6d178949831b /samples/Makefile | |
parent | dm: raid fix write_mostly arg validation (diff) | |
download | linux-983c7db347db8ce2d8453fd1d89b7a4bb6920d56.tar.xz linux-983c7db347db8ce2d8453fd1d89b7a4bb6920d56.zip |
dm crypt: always disable discard_zeroes_data
If optional discard support in dm-crypt is enabled, discards requests
bypass the crypt queue and blocks of the underlying device are discarded.
For the read path, discarded blocks are handled the same as normal
ciphertext blocks, thus decrypted.
So if the underlying device announces discarded regions return zeroes,
dm-crypt must disable this flag because after decryption there is just
random noise instead of zeroes.
Signed-off-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'samples/Makefile')
0 files changed, 0 insertions, 0 deletions