dm-delay.c (748c5151deb56e4b7b5a9b07a884243764933831) dm-delay.c (586e80e6ee0d137c7d79fbae183bb37bc60ee97e)
1/*
2 * Copyright (C) 2005-2007 Red Hat GmbH
3 *
4 * A target that delays reads and/or writes and can send
5 * them to different devices.
6 *
7 * This file is released under the GPL.
8 */
9
10#include <linux/module.h>
11#include <linux/init.h>
12#include <linux/blkdev.h>
13#include <linux/bio.h>
14#include <linux/slab.h>
15
1/*
2 * Copyright (C) 2005-2007 Red Hat GmbH
3 *
4 * A target that delays reads and/or writes and can send
5 * them to different devices.
6 *
7 * This file is released under the GPL.
8 */
9
10#include <linux/module.h>
11#include <linux/init.h>
12#include <linux/blkdev.h>
13#include <linux/bio.h>
14#include <linux/slab.h>
15
16#include "dm.h"
16#include <linux/device-mapper.h>
17
17#include "dm-bio-list.h"
18
19#define DM_MSG_PREFIX "delay"
20
21struct delay_c {
22 struct timer_list delay_timer;
23 struct mutex timer_lock;
24 struct work_struct flush_expired_bios;

--- 357 unchanged lines hidden ---
18#include "dm-bio-list.h"
19
20#define DM_MSG_PREFIX "delay"
21
22struct delay_c {
23 struct timer_list delay_timer;
24 struct mutex timer_lock;
25 struct work_struct flush_expired_bios;

--- 357 unchanged lines hidden ---