dm.c (9d1deb83d489364f8749a3a1ba1689efb07d94b0) dm.c (d548b34b062b60b4f4df295a0b4823dfda1f1fc4)
1/*
2 * Copyright (C) 2001, 2002 Sistina Software (UK) Limited.
3 * Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved.
4 *
5 * This file is released under the GPL.
6 */
7
8#include "dm.h"

--- 1983 unchanged lines hidden (view full) ---

1992 tio->ti = ti;
1993 queue_kthread_work(&md->kworker, &tio->work);
1994 BUG_ON(!irqs_disabled());
1995 }
1996
1997 goto out;
1998
1999delay_and_out:
1/*
2 * Copyright (C) 2001, 2002 Sistina Software (UK) Limited.
3 * Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved.
4 *
5 * This file is released under the GPL.
6 */
7
8#include "dm.h"

--- 1983 unchanged lines hidden (view full) ---

1992 tio->ti = ti;
1993 queue_kthread_work(&md->kworker, &tio->work);
1994 BUG_ON(!irqs_disabled());
1995 }
1996
1997 goto out;
1998
1999delay_and_out:
2000 blk_delay_queue(q, HZ / 10);
2000 blk_delay_queue(q, HZ / 100);
2001out:
2002 dm_put_live_table(md, srcu_idx);
2003}
2004
2005static int dm_any_congested(void *congested_data, int bdi_bits)
2006{
2007 int r = bdi_bits;
2008 struct mapped_device *md = congested_data;

--- 1321 unchanged lines hidden ---
2001out:
2002 dm_put_live_table(md, srcu_idx);
2003}
2004
2005static int dm_any_congested(void *congested_data, int bdi_bits)
2006{
2007 int r = bdi_bits;
2008 struct mapped_device *md = congested_data;

--- 1321 unchanged lines hidden ---