mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
dm delay: support discard
Enable discard support for the delay target. Signed-off-by: Mike Snitzer <[email protected]> Signed-off-by: Alasdair G Kergon <[email protected]>
This commit is contained in:
parent
f8facb61b5
commit
3fd5d48027
1 changed files with 1 additions and 0 deletions
|
|
@ -198,6 +198,7 @@ out:
|
|||
atomic_set(&dc->may_delay, 1);
|
||||
|
||||
ti->num_flush_requests = 1;
|
||||
ti->num_discard_requests = 1;
|
||||
ti->private = dc;
|
||||
return 0;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue