Hi Martin, My setup is a new developed distributed block device on top of dm-cache. The dm-cache values are bigger than those needed by my (new developed) block device. Regards, Florian On Fri, Jul 22, 2016 at 9:34 PM, Martin K. Petersen <martin.petersen@xxxxxxxxxx> wrote: >>>>>> "Florian-Ewald" == Florian-Ewald Müller <florian-ewald.mueller@xxxxxxxxxxxxxxxx> writes: > > Florian-Ewald, > > Florian-Ewald> blk_stack_limits() can set discard_granularity bigger > Florian-Ewald> than max_discard_sectors (in bytes). > > discard_granularity must be smaller than max_discard_sectors. The > question is which storage device reported these values? > > -- > Martin K. Petersen Oracle Linux Engineering -- Florian-Ewald Mueller Architecture Board ProfitBricks GmbH Greifswalder Str. 207 D - 10405 Berlin Tel: +49 30 577 008 331 Fax: +49 30 577 008 598 Email: florian-ewald.mueller@xxxxxxxxxxxxxxxx URL: http://www.profitbricks.de Sitz der Gesellschaft: Berlin. Registergericht: Amtsgericht Charlottenburg, HRB 125506 B. Geschäftsführer: Andreas Gauger, Achim Weiss. Please consider the environment before printing this email. -- To unsubscribe from this list: send the line "unsubscribe linux-block" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html