aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_main.c
diff options
context:
space:
mode:
authorPhilipp Reisner <philipp.reisner@linbit.com>2010-08-25 10:47:17 +0200
committerPhilipp Reisner <philipp.reisner@linbit.com>2010-10-23 13:02:34 +0200
commit650789c87f16dcdf1dd0a67ac7461b7537534855 (patch)
tree47e8ffc3b45542fd4d447a8c902b977c108fc00f /drivers/block/drbd/drbd_main.c
parenta8a4e51e6965db84d2af041370ea2ab6232aa4f1 (diff)
downloadkernel_samsung_tuna-650789c87f16dcdf1dd0a67ac7461b7537534855.zip
kernel_samsung_tuna-650789c87f16dcdf1dd0a67ac7461b7537534855.tar.gz
kernel_samsung_tuna-650789c87f16dcdf1dd0a67ac7461b7537534855.tar.bz2
drbd: Removed checks for REQ_HARDBARRIER on incomming BIOs
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_main.c')
-rw-r--r--drivers/block/drbd/drbd_main.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/block/drbd/drbd_main.c b/drivers/block/drbd/drbd_main.c
index 8e0d707..d7072bf 100644
--- a/drivers/block/drbd/drbd_main.c
+++ b/drivers/block/drbd/drbd_main.c
@@ -2788,11 +2788,6 @@ void drbd_init_set_defaults(struct drbd_conf *mdev)
drbd_set_defaults(mdev);
- /* for now, we do NOT yet support it,
- * even though we start some framework
- * to eventually support barriers */
- set_bit(NO_BARRIER_SUPP, &mdev->flags);
-
atomic_set(&mdev->ap_bio_cnt, 0);
atomic_set(&mdev->ap_pending_cnt, 0);
atomic_set(&mdev->rs_pending_cnt, 0);