[PATCH v6 05/11] block: remove split code in blkdev_issue_{discard, write_same}

Martin K. Petersen martin.petersen at oracle.com
Wed Oct 21 09:33:07 PDT 2015


>>>>> "Mike" == Mike Snitzer <snitzer at redhat.com> writes:

>> That should work for all devices and for dm-thinp (and dm-cache) in
>> particular will ensure that all discards that are issued will be a
>> multiple of the underlying device's blocksize.

Mike> Jeff Moyer pointed out having req_sects be a factor of
Mike> discard_granularity makes more sense.

Absolutely!

-- 
Martin K. Petersen	Oracle Linux Engineering



More information about the Linux-nvme mailing list