projects
/
platform
/
kernel
/
linux-amlogic.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
|
history
diff --git
a/drivers/md/dm-delay.c
b/drivers/md/dm-delay.c
index
a91049e
..
baa1191
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;