projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8facb6
)
dm delay: support discard
author
Mike Snitzer
<snitzer@redhat.com>
Thu, 12 Aug 2010 03:14:13 +0000
(
04:14
+0100)
committer
Alasdair G Kergon
<agk@redhat.com>
Thu, 12 Aug 2010 03:14:13 +0000
(
04:14
+0100)
Enable discard support for the delay target.
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-delay.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/md/dm-delay.c
b/drivers/md/dm-delay.c
index a91049e05219b4187ab1640b1b311577fb1c6432..baa11912cc94049bf966f9e62d3451fefd954971 100644
(file)
--- a/
drivers/md/dm-delay.c
+++ b/
drivers/md/dm-delay.c
@@
-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;