]> git.karo-electronics.de Git - karo-tx-linux.git/commit
This patch introduces a new variable split_discard_requests. It can be
authorMikulas Patocka <mpatocka@redhat.com>
Tue, 24 Jul 2012 23:25:16 +0000 (09:25 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 24 Jul 2012 23:25:16 +0000 (09:25 +1000)
commitfbb4f5dd63ad17174ba4739f9d192ca8fa62215d
tree63ddea170dcff8b1f17cdf0446ee2eb70272e517
parent59d0c7d15a93d764cdb854b69967fdc95dbf2dc4
This patch introduces a new variable split_discard_requests. It can be
set by targets so that discard requests are split on max_io_len
boundaries.

When split_discard_requests is not set, discard requests are only split on
boundaries between targets, as was the case before this patch.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm.c
include/linux/device-mapper.h