X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fdevice-mapper.h;fp=include%2Flinux%2Fdevice-mapper.h;h=4427e04540516ef006e08ce8de95bebc23516905;hb=4c2593270133708698d4b8cea2dab469479ad13b;hp=32a4423710f51e54045413415a53b6b8cd0afd56;hpb=139f37f5e14cd883eee2a8a36289f544b5390a44;p=pandora-kernel.git diff --git a/include/linux/device-mapper.h b/include/linux/device-mapper.h index 32a4423710f5..4427e0454051 100644 --- a/include/linux/device-mapper.h +++ b/include/linux/device-mapper.h @@ -191,6 +191,12 @@ struct dm_target { /* Used to provide an error string from the ctr */ char *error; + + /* + * Set if this target needs to receive discards regardless of + * whether or not its underlying devices have support. + */ + unsigned discards_supported:1; }; /* Each target can link one of these into the table */