Messages in this thread | | | Subject | Re: [PATCH v6 05/11] block: remove split code in blkdev_issue_{discard,write_same} | From | "Martin K. Petersen" <> | Date | Wed, 21 Oct 2015 12:33:07 -0400 |
| |
>>>>> "Mike" == Mike Snitzer <snitzer@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
| |