dm-raid1.c (a4872d5b6ad69a49975c0268828b5bb2317ea5a0) | dm-raid1.c (1f98a13f623e0ef666690a18c1250335fc6d7ef1) |
---|---|
1/* 2 * Copyright (C) 2003 Sistina Software Limited. 3 * Copyright (C) 2005-2008 Red Hat, Inc. All rights reserved. 4 * 5 * This file is released under the GPL. 6 */ 7 8#include "dm-bio-record.h" --- 1115 unchanged lines hidden (view full) --- 1124 if (rw == WRITE) { 1125 dm_rh_dec(ms->rh, map_context->ll); 1126 return error; 1127 } 1128 1129 if (error == -EOPNOTSUPP) 1130 goto out; 1131 | 1/* 2 * Copyright (C) 2003 Sistina Software Limited. 3 * Copyright (C) 2005-2008 Red Hat, Inc. All rights reserved. 4 * 5 * This file is released under the GPL. 6 */ 7 8#include "dm-bio-record.h" --- 1115 unchanged lines hidden (view full) --- 1124 if (rw == WRITE) { 1125 dm_rh_dec(ms->rh, map_context->ll); 1126 return error; 1127 } 1128 1129 if (error == -EOPNOTSUPP) 1130 goto out; 1131 |
1132 if ((error == -EWOULDBLOCK) && bio_rw_ahead(bio)) | 1132 if ((error == -EWOULDBLOCK) && bio_rw_flagged(bio, BIO_RW_AHEAD)) |
1133 goto out; 1134 1135 if (unlikely(error)) { 1136 if (!read_record) { 1137 /* 1138 * There wasn't enough memory to record necessary 1139 * information for a retry or there was no other 1140 * mirror in-sync. --- 219 unchanged lines hidden --- | 1133 goto out; 1134 1135 if (unlikely(error)) { 1136 if (!read_record) { 1137 /* 1138 * There wasn't enough memory to record necessary 1139 * information for a retry or there was no other 1140 * mirror in-sync. --- 219 unchanged lines hidden --- |