[PATCH v3 1/2] conf: add support for discard_granularity