>>>>> "Lukas" == Lukas Czerner <lczerner@xxxxxxxxxx> writes: Lukas> Currently there is no convenient way how to get the information Lukas> from userspace whether or not the block device supports discard Lukas> other than try to call BLKDISCARD ioctl and check the result, Lukas> which is not really good way to do it. Not true. If discard_max_bytes is > 0 then discard is supported. -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html