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

From: Martin K. Petersen
Date: Wed Oct 21 2015 - 12:34:33 EST


>>>>> "Mike" == Mike Snitzer <snitzer@xxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/