aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_proc.c
diff options
context:
space:
mode:
authorPhilipp Reisner <philipp.reisner@linbit.com>2011-11-09 20:12:34 +0100
committerPhilipp Reisner <philipp.reisner@linbit.com>2012-11-08 16:58:07 +0100
commit4b0007c0e8def19266c767f0410ce81eb39f55c7 (patch)
treea73a97a97d36ad66af6210a61162f5a04138b702 /drivers/block/drbd/drbd_proc.c
parentdrbd: Move the CREATE_BARRIER flag from connection to device (diff)
downloadlinux-dev-4b0007c0e8def19266c767f0410ce81eb39f55c7.tar.xz
linux-dev-4b0007c0e8def19266c767f0410ce81eb39f55c7.zip
drbd: Move write_ordering from mdev to tconn
This is necessary in order to prepare the move of the (receiver side) epoch list from the device (mdev) to the connection (tconn) objects. 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_proc.c')
-rw-r--r--drivers/block/drbd/drbd_proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_proc.c b/drivers/block/drbd/drbd_proc.c
index 7e68d99e9c93..1321192b377d 100644
--- a/drivers/block/drbd/drbd_proc.c
+++ b/drivers/block/drbd/drbd_proc.c
@@ -272,7 +272,7 @@ static int drbd_seq_show(struct seq_file *seq, void *v)
atomic_read(&mdev->unacked_cnt),
atomic_read(&mdev->ap_bio_cnt),
mdev->epochs,
- write_ordering_chars[mdev->write_ordering]
+ write_ordering_chars[mdev->tconn->write_ordering]
);
seq_printf(seq, " oos:%llu\n",
Bit2KB((unsigned long long)