Enable discard support for the delay target.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
This commit is contained in:
Mike Snitzer 2010-08-12 04:14:13 +01:00 коммит произвёл Alasdair G Kergon
Родитель f8facb61b5
Коммит 3fd5d48027
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -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;