diff options
author | Mike Snitzer <snitzer@redhat.com> | 2012-12-21 20:23:30 +0000 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2012-12-21 20:23:30 +0000 |
commit | c1a94672a830e01d58c7c7e8de530c3f136d6ff2 (patch) | |
tree | 00f9fa087a3bbae3fe55bda80f6b222512eea51a /drivers/md/dm-bio-prison.h | |
parent | e910d7ebecd1aac43125944a8641b6cb1a0dfabe (diff) | |
download | linux-stable-c1a94672a830e01d58c7c7e8de530c3f136d6ff2.tar.gz linux-stable-c1a94672a830e01d58c7c7e8de530c3f136d6ff2.tar.bz2 linux-stable-c1a94672a830e01d58c7c7e8de530c3f136d6ff2.zip |
dm: disable WRITE SAME
WRITE SAME bios are not yet handled correctly by device-mapper so
disable their use on device-mapper devices by setting
max_write_same_sectors to zero.
As an example, a ciphertext device is incompatible because the data
gets changed according to the location at which it written and so the
dm crypt target cannot support it.
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Cc: stable@vger.kernel.org
Cc: Milan Broz <mbroz@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/dm-bio-prison.h')
0 files changed, 0 insertions, 0 deletions