summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-core.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-04-05 19:21:05 +0200
committerJens Axboe <axboe@fb.com>2017-04-08 11:25:38 -0600
commitac62d6208a7977107a47be4eb8566d6e5034b5f5 (patch)
treecac7e46e26b67193cefb333d9aad2f8e87ecfee7 /drivers/md/dm-core.h
parent0f5d690f7bf1b1a5354c61ac5b9d69a4329e218f (diff)
downloadlinux-ac62d6208a7977107a47be4eb8566d6e5034b5f5.tar.gz
linux-ac62d6208a7977107a47be4eb8566d6e5034b5f5.tar.bz2
linux-ac62d6208a7977107a47be4eb8566d6e5034b5f5.zip
dm: support REQ_OP_WRITE_ZEROES
Copy & paste from the REQ_OP_WRITE_SAME code. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/md/dm-core.h')
-rw-r--r--drivers/md/dm-core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/dm-core.h b/drivers/md/dm-core.h
index 136fda3ff9e5..fea5bd52ada8 100644
--- a/drivers/md/dm-core.h
+++ b/drivers/md/dm-core.h
@@ -132,6 +132,7 @@ void dm_init_md_queue(struct mapped_device *md);
void dm_init_normal_md_queue(struct mapped_device *md);
int md_in_flight(struct mapped_device *md);
void disable_write_same(struct mapped_device *md);
+void disable_write_zeroes(struct mapped_device *md);
static inline struct completion *dm_get_completion_from_kobject(struct kobject *kobj)
{