dm-mpath.c (fd7c092e711ebab55b2688d3859d95dfd0301f73) dm-mpath.c (55a62eef8d1b50ceff3b7bf46851103bdcc7e5b0)
1/*
2 * Copyright (C) 2003 Sistina Software Limited.
3 * Copyright (C) 2004-2005 Red Hat, Inc. All rights reserved.
4 *
5 * This file is released under the GPL.
6 */
7
8#include <linux/device-mapper.h>

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

900 }
901
902 if (pg_count != m->nr_priority_groups) {
903 ti->error = "priority group count mismatch";
904 r = -EINVAL;
905 goto bad;
906 }
907
1/*
2 * Copyright (C) 2003 Sistina Software Limited.
3 * Copyright (C) 2004-2005 Red Hat, Inc. All rights reserved.
4 *
5 * This file is released under the GPL.
6 */
7
8#include <linux/device-mapper.h>

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

900 }
901
902 if (pg_count != m->nr_priority_groups) {
903 ti->error = "priority group count mismatch";
904 r = -EINVAL;
905 goto bad;
906 }
907
908 ti->num_flush_requests = 1;
909 ti->num_discard_requests = 1;
908 ti->num_flush_bios = 1;
909 ti->num_discard_bios = 1;
910
911 return 0;
912
913 bad:
914 free_multipath(m);
915 return r;
916}
917

--- 856 unchanged lines hidden ---
910
911 return 0;
912
913 bad:
914 free_multipath(m);
915 return r;
916}
917

--- 856 unchanged lines hidden ---