aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/drbd_genl.h
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@linbit.com>2011-05-04 09:25:35 -0400
committerPhilipp Reisner <philipp.reisner@linbit.com>2012-11-08 10:55:45 -0500
commit66b2f6b9c59c5e7003e13281dfe72e174f93988c (patch)
tree4867d12b1876bf8c3291390c759fc9b92a795bf1 /include/linux/drbd_genl.h
parenta5d8e1fb9d22851de89bbf52db6b11c56b895dd4 (diff)
drbd: Turn no-disk-flushes into disk-flushes={yes|no}
Change the --no-disk-flushes drbdsetup command line option as well as the no_disk_flush netlink packet. Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'include/linux/drbd_genl.h')
-rw-r--r--include/linux/drbd_genl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/drbd_genl.h b/include/linux/drbd_genl.h
index f143e3c0f33b..945c4dd3470c 100644
--- a/include/linux/drbd_genl.h
+++ b/include/linux/drbd_genl.h
@@ -122,8 +122,8 @@ GENL_struct(DRBD_NLA_DISK_CONF, 3, disk_conf,
122 __u32_field_def(14, GENLA_F_MANDATORY, c_max_rate, DRBD_C_MAX_RATE_DEF) 122 __u32_field_def(14, GENLA_F_MANDATORY, c_max_rate, DRBD_C_MAX_RATE_DEF)
123 __u32_field_def(15, GENLA_F_MANDATORY, c_min_rate, DRBD_C_MIN_RATE_DEF) 123 __u32_field_def(15, GENLA_F_MANDATORY, c_min_rate, DRBD_C_MIN_RATE_DEF)
124 124
125 __flg_field_def(16, GENLA_F_MANDATORY, no_disk_barrier, 0) 125 __flg_field_def(16, GENLA_F_MANDATORY, disk_barrier, 1)
126 __flg_field_def(17, GENLA_F_MANDATORY, no_disk_flush, 0) 126 __flg_field_def(17, GENLA_F_MANDATORY, disk_flushes, 1)
127 __flg_field_def(18, GENLA_F_MANDATORY, no_disk_drain, 0) 127 __flg_field_def(18, GENLA_F_MANDATORY, no_disk_drain, 0)
128 __flg_field_def(19, GENLA_F_MANDATORY, no_md_flush, 0) 128 __flg_field_def(19, GENLA_F_MANDATORY, no_md_flush, 0)
129) 129)