Re: [PATCH v5 2/2] Add support for SCT Write Same

From: Martin K. Petersen
Date: Thu Aug 11 2016 - 21:19:08 EST


>>>>> "Tom" == Tom Yan <tom.ty89@xxxxxxxxx> writes:

>> Many drives from different vendors were affected by this. So we'd
>> have to make multi block payloads an explicit opt-in like we did for
>> discard_zeroes_data. However, given that "big" discards are mainly
>> done synchronously when creating filesystems, I am not sure there is
>> any real benefit to this.

Tom> Probably. Perhaps it could make a difference upon deletion of some
Tom> really big files (though the logical sectors used may not be
Tom> continuous anyway).

Nope. And you've got the bio size limit getting in the way as well.

--
Martin K. Petersen Oracle Linux Engineering