This patch introduces a new variable split_discard_requests. It can be
set by targets, when it is set, discard requests are split on max_io_len
boundary.
When split_discard_requests is not set, discard requests are split on
target boundary, as it used to be before this patch.
/*
+ * Set if the target required discard request to be split
+ * on max_io_len boundary.
+ */
+ unsigned split_discard_requests:1;
+
+ /*
* Set if this target does not return zeroes on discarded blocks.
*/
unsigned discard_zeroes_data_unsupported:1;
--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel