On 7/20/18 11:57 AM, Mike Snitzer wrote: > Set max_discard_segments to USHRT_MAX in blk_set_stacking_limits() so > that blk_stack_limits() can stack up this limit for stacked devices. > > before: > > $ cat /sys/block/nvme0n1/queue/max_discard_segments > 256 > $ cat /sys/block/dm-0/queue/max_discard_segments > 1 > > after: > > $ cat /sys/block/nvme0n1/queue/max_discard_segments > 256 > $ cat /sys/block/dm-0/queue/max_discard_segments > 256 Applied, thanks Mike. -- Jens Axboe -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel