diff options
author | Philipp Reisner <philipp.reisner@linbit.com> | 2010-08-24 13:43:11 +0200 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2010-10-23 13:00:48 +0200 |
commit | 2451fc3b2bd3a7205270da75a21dde0d5d7c96a2 (patch) | |
tree | 60c31f1c6da680d44ee7492be4cd377127f2ac3d /drivers/block/drbd/drbd_nl.c | |
parent | 8825f7c3e5c7b251b49fc594658a96f59417ee16 (diff) | |
download | lwn-2451fc3b2bd3a7205270da75a21dde0d5d7c96a2.tar.gz lwn-2451fc3b2bd3a7205270da75a21dde0d5d7c96a2.zip |
drbd: Removed the BIO_RW_BARRIER support form the receiver/epoch code
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'drivers/block/drbd/drbd_nl.c')
-rw-r--r-- | drivers/block/drbd/drbd_nl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/drbd/drbd_nl.c b/drivers/block/drbd/drbd_nl.c index 0cba7d3d2b5d..899878fcf97d 100644 --- a/drivers/block/drbd/drbd_nl.c +++ b/drivers/block/drbd/drbd_nl.c @@ -1117,8 +1117,8 @@ static int drbd_nl_disk_conf(struct drbd_conf *mdev, struct drbd_nl_cfg_req *nlp nbc = NULL; resync_lru = NULL; - mdev->write_ordering = WO_bio_barrier; - drbd_bump_write_ordering(mdev, WO_bio_barrier); + mdev->write_ordering = WO_bdev_flush; + drbd_bump_write_ordering(mdev, WO_bdev_flush); if (drbd_md_test_flag(mdev->ldev, MDF_CRASHED_PRIMARY)) set_bit(CRASHED_PRIMARY, &mdev->flags); |