]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/md/dm-core.h
Merge tag 'libnvdimm-for-4.12' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdim...
[mirror_ubuntu-artful-kernel.git] / drivers / md / dm-core.h
index 538630190f66246084305f329d62918e319aa7ba..52ca8d059e821b125cb1475b9545563f8528cefb 100644 (file)
@@ -47,7 +47,7 @@ struct mapped_device {
        struct request_queue *queue;
        int numa_node_id;
 
-       unsigned type;
+       enum dm_queue_mode type;
        /* Protect queue and type against concurrent access. */
        struct mutex type_lock;
 
@@ -133,6 +133,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)
 {