diff options
author | Andreas Gruenbacher <agruen@linbit.com> | 2014-08-13 18:33:55 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-11-25 09:22:00 -0700 |
commit | f6ba86363908e3f4e3ef11f768be7ca2745b18cf (patch) | |
tree | 30a63b92a0279c4e59e1b9923b779e63bf6118b9 /include | |
parent | 5dd2ca1912714a006075e1cb763a3610ef9b3212 (diff) |
drbd: Move enum write_ordering_e to drbd.h
Also change the enum values to all-capital letters.
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/drbd.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/drbd.h b/include/linux/drbd.h index 8723f2a99e15..15a14724a087 100644 --- a/include/linux/drbd.h +++ b/include/linux/drbd.h @@ -357,6 +357,13 @@ enum drbd_timeout_flag { #define UUID_JUST_CREATED ((__u64)4) +enum write_ordering_e { + WO_NONE, + WO_DRAIN_IO, + WO_BDEV_FLUSH, + WO_BIO_BARRIER +}; + /* magic numbers used in meta data and network packets */ #define DRBD_MAGIC 0x83740267 #define DRBD_MAGIC_BIG 0x835a |