Home
last modified time | relevance | path

Searched hist:"56 a67df7" (Results 1 – 2 of 2) sorted by relevance

/linux-6.15/include/linux/
H A Ddevice-mapper.h56a67df7 Thu Aug 12 03:14:10 GMT 2010 Mike Snitzer <[email protected]> dm: factor out max_io_len_target_boundary

Split max_io_len_target_boundary out of max_io_len so that the discard
support can make use of it without duplicating max_io_len code.

Avoiding max_io_len's split_io logic enables DM's discard support to
submit the entire discard request to a target. But discards must still
be split on target boundaries.

Signed-off-by: Mike Snitzer <[email protected]>
Signed-off-by: Alasdair G Kergon <[email protected]>
/linux-6.15/drivers/md/
H A Ddm.c56a67df7 Thu Aug 12 03:14:10 GMT 2010 Mike Snitzer <[email protected]> dm: factor out max_io_len_target_boundary

Split max_io_len_target_boundary out of max_io_len so that the discard
support can make use of it without duplicating max_io_len code.

Avoiding max_io_len's split_io logic enables DM's discard support to
submit the entire discard request to a target. But discards must still
be split on target boundaries.

Signed-off-by: Mike Snitzer <[email protected]>
Signed-off-by: Alasdair G Kergon <[email protected]>