dm.c (b22364c8eec89e6b0c081a237f3b6348df87796f) | dm.c (5972511b77809cb7c9ccdb79b825c54921c5c546) |
---|---|
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" --- 998 unchanged lines hidden (view full) --- 1007 md->io_pool = mempool_create_slab_pool(MIN_IOS, _io_cache); 1008 if (!md->io_pool) 1009 goto bad2; 1010 1011 md->tio_pool = mempool_create_slab_pool(MIN_IOS, _tio_cache); 1012 if (!md->tio_pool) 1013 goto bad3; 1014 | 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" --- 998 unchanged lines hidden (view full) --- 1007 md->io_pool = mempool_create_slab_pool(MIN_IOS, _io_cache); 1008 if (!md->io_pool) 1009 goto bad2; 1010 1011 md->tio_pool = mempool_create_slab_pool(MIN_IOS, _tio_cache); 1012 if (!md->tio_pool) 1013 goto bad3; 1014 |
1015 md->bs = bioset_create(16, 16, 4); | 1015 md->bs = bioset_create(16, 16); |
1016 if (!md->bs) 1017 goto bad_no_bioset; 1018 1019 md->disk = alloc_disk(1); 1020 if (!md->disk) 1021 goto bad4; 1022 1023 atomic_set(&md->pending, 0); --- 541 unchanged lines hidden --- | 1016 if (!md->bs) 1017 goto bad_no_bioset; 1018 1019 md->disk = alloc_disk(1); 1020 if (!md->disk) 1021 goto bad4; 1022 1023 atomic_set(&md->pending, 0); --- 541 unchanged lines hidden --- |