[linux-lvm] [dm-devel] do not disable ext4 discards on first discard failure? [was: Re: dm snapshot: ignore discards issued to the snapshot-origin target]

Martin K. Petersen martin.petersen at oracle.com
Mon May 2 14:20:54 UTC 2011

>>>>> "Lukas" == Lukas Czerner <lczerner at redhat.com> writes:

Lukas> So I gave it a try. First of all the device composed of SSD and
Lukas> spinning disk does export discard_support information properly,
Lukas> however it also advertise discard_zeroes_data which is wrong and
Lukas> possibly dangerous and should be fixed!

I can't reproduce this here. If I mix discard and non-discard devices
things work correctly. discard_zeroes_data also gets cleared if I mix
discard-capable drives where one zeroes and one doesn't.

Martin K. Petersen	Oracle Linux Engineering

More information about the linux-lvm mailing list