On Fri, Jan 10, Boris Ostrovsky wrote: > If the call below fails, is it safe to continue using discard feature? At > the least, are discard_granularity and discard_alignment guaranteed to have > sane/safe values?
Its up to the toolstack to provide sane values. In the worst case discard fails. In this specific case the three values are optional, so the calls can fail. I do not know what happens if the backend device actually needs the values, but the frontend can not send proper discard requests. Hopefully it will not damage the hardware.. Olaf -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/