dm.c (042d2a9bcd80fe12d4b0871706aa9dd2231e8238) | dm.c (6db4ccd6357f28c9ef7058b3bc48904c4b2ac419) |
---|---|
1/* 2 * Copyright (C) 2001, 2002 Sistina Software (UK) Limited. 3 * Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved. 4 * 5 * This file is released under the GPL. 6 */ 7 8#include "dm.h" --- 1604 unchanged lines hidden (view full) --- 1613 tio->ti = ti; 1614 r = ti->type->map_rq(ti, clone, &tio->info); 1615 switch (r) { 1616 case DM_MAPIO_SUBMITTED: 1617 /* The target has taken the I/O to submit by itself later */ 1618 break; 1619 case DM_MAPIO_REMAPPED: 1620 /* The target has remapped the I/O so dispatch it */ | 1/* 2 * Copyright (C) 2001, 2002 Sistina Software (UK) Limited. 3 * Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved. 4 * 5 * This file is released under the GPL. 6 */ 7 8#include "dm.h" --- 1604 unchanged lines hidden (view full) --- 1613 tio->ti = ti; 1614 r = ti->type->map_rq(ti, clone, &tio->info); 1615 switch (r) { 1616 case DM_MAPIO_SUBMITTED: 1617 /* The target has taken the I/O to submit by itself later */ 1618 break; 1619 case DM_MAPIO_REMAPPED: 1620 /* The target has remapped the I/O so dispatch it */ |
1621 trace_block_rq_remap(clone->q, clone, disk_devt(dm_disk(md)), 1622 blk_rq_pos(tio->orig)); |
|
1621 dm_dispatch_request(clone); 1622 break; 1623 case DM_MAPIO_REQUEUE: 1624 /* The target wants to requeue the I/O */ 1625 dm_requeue_unmapped_request(clone); 1626 break; 1627 default: 1628 if (r > 0) { --- 1143 unchanged lines hidden --- | 1623 dm_dispatch_request(clone); 1624 break; 1625 case DM_MAPIO_REQUEUE: 1626 /* The target wants to requeue the I/O */ 1627 dm_requeue_unmapped_request(clone); 1628 break; 1629 default: 1630 if (r > 0) { --- 1143 unchanged lines hidden --- |