dm.c (0a8c5395f90f06d128247844b2515c8bf3f2826b) | dm.c (bb799ca0202a360fa74d5f17039b9100caebdde7) |
---|---|
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" --- 1079 unchanged lines hidden (view full) --- 1088 md->io_pool = mempool_create_slab_pool(MIN_IOS, _io_cache); 1089 if (!md->io_pool) 1090 goto bad_io_pool; 1091 1092 md->tio_pool = mempool_create_slab_pool(MIN_IOS, _tio_cache); 1093 if (!md->tio_pool) 1094 goto bad_tio_pool; 1095 | 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" --- 1079 unchanged lines hidden (view full) --- 1088 md->io_pool = mempool_create_slab_pool(MIN_IOS, _io_cache); 1089 if (!md->io_pool) 1090 goto bad_io_pool; 1091 1092 md->tio_pool = mempool_create_slab_pool(MIN_IOS, _tio_cache); 1093 if (!md->tio_pool) 1094 goto bad_tio_pool; 1095 |
1096 md->bs = bioset_create(16, 16); | 1096 md->bs = bioset_create(16, 0); |
1097 if (!md->bs) 1098 goto bad_no_bioset; 1099 1100 md->disk = alloc_disk(1); 1101 if (!md->disk) 1102 goto bad_disk; 1103 1104 atomic_set(&md->pending, 0); --- 604 unchanged lines hidden --- | 1097 if (!md->bs) 1098 goto bad_no_bioset; 1099 1100 md->disk = alloc_disk(1); 1101 if (!md->disk) 1102 goto bad_disk; 1103 1104 atomic_set(&md->pending, 0); --- 604 unchanged lines hidden --- |