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

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

32
33static DEFINE_SPINLOCK(_minor_lock);
34/*
35 * One of these is allocated per bio.
36 */
37struct dm_io {
38 struct mapped_device *md;
39 int error;
1/*
2 * Copyright (C) 2001, 2002 Sistina Software (UK) Limited.
3 * Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved.
4 *
5 * This file is released under the GPL.
6 */
7
8#include "dm.h"

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

32
33static DEFINE_SPINLOCK(_minor_lock);
34/*
35 * One of these is allocated per bio.
36 */
37struct dm_io {
38 struct mapped_device *md;
39 int error;
40 struct bio *bio;
41 atomic_t io_count;
40 atomic_t io_count;
41 struct bio *bio;
42 unsigned long start_time;
43};
44
45/*
46 * One of these is allocated per target within a bio. Hopefully
47 * this will be simplified out one day.
48 */
49struct dm_target_io {

--- 1617 unchanged lines hidden ---
42 unsigned long start_time;
43};
44
45/*
46 * One of these is allocated per target within a bio. Hopefully
47 * this will be simplified out one day.
48 */
49struct dm_target_io {

--- 1617 unchanged lines hidden ---