dm-raid1.c (7a996d3ab150bb0e1b71fa182f70199a703efdd1) | dm-raid1.c (7b6d91daee5cac6402186ff224c3af39d79f4a0e) |
---|---|
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" --- 1197 unchanged lines hidden (view full) --- 1206 if (likely(!bio_empty_barrier(bio))) 1207 dm_rh_dec(ms->rh, map_context->ll); 1208 return error; 1209 } 1210 1211 if (error == -EOPNOTSUPP) 1212 goto out; 1213 | 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" --- 1197 unchanged lines hidden (view full) --- 1206 if (likely(!bio_empty_barrier(bio))) 1207 dm_rh_dec(ms->rh, map_context->ll); 1208 return error; 1209 } 1210 1211 if (error == -EOPNOTSUPP) 1212 goto out; 1213 |
1214 if ((error == -EWOULDBLOCK) && bio_rw_flagged(bio, BIO_RW_AHEAD)) | 1214 if ((error == -EWOULDBLOCK) && (bio->bi_rw & REQ_RAHEAD)) |
1215 goto out; 1216 1217 if (unlikely(error)) { 1218 if (!read_record) { 1219 /* 1220 * There wasn't enough memory to record necessary 1221 * information for a retry or there was no other 1222 * mirror in-sync. --- 237 unchanged lines hidden --- | 1215 goto out; 1216 1217 if (unlikely(error)) { 1218 if (!read_record) { 1219 /* 1220 * There wasn't enough memory to record necessary 1221 * information for a retry or there was no other 1222 * mirror in-sync. --- 237 unchanged lines hidden --- |