• M
    dm: disable WRITE SAME · c1a94672
    Mike Snitzer 提交于
    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: NMike Snitzer <snitzer@redhat.com>
    Cc: stable@vger.kernel.org
    Cc: Milan Broz <mbroz@redhat.com>
    Signed-off-by: NAlasdair G Kergon <agk@redhat.com>
    c1a94672
dm-table.c 37.6 KB