dm-rq.c (ddb9e13af3bba3f8c36ccee0eb9563a82b425c12) dm-rq.c (ac514ffc968bf14649dd0e048447dc966ee49555)
1/*
2 * Copyright (C) 2016 Red Hat, Inc. All rights reserved.
3 *
4 * This file is released under the GPL.
5 */
6
7#include "dm-core.h"
8#include "dm-rq.h"

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

310 break;
311 case DM_ENDIO_INCOMPLETE:
312 /* The target will handle the I/O */
313 return;
314 case DM_ENDIO_REQUEUE:
315 /* The target wants to requeue the I/O */
316 dm_requeue_original_request(tio, false);
317 break;
1/*
2 * Copyright (C) 2016 Red Hat, Inc. All rights reserved.
3 *
4 * This file is released under the GPL.
5 */
6
7#include "dm-core.h"
8#include "dm-rq.h"

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

310 break;
311 case DM_ENDIO_INCOMPLETE:
312 /* The target will handle the I/O */
313 return;
314 case DM_ENDIO_REQUEUE:
315 /* The target wants to requeue the I/O */
316 dm_requeue_original_request(tio, false);
317 break;
318 case DM_ENDIO_DELAY_REQUEUE:
319 /* The target wants to requeue the I/O after a delay */
320 dm_requeue_original_request(tio, true);
321 break;
318 default:
319 DMWARN("unimplemented target endio return value: %d", r);
320 BUG();
321 }
322}
323
324/*
325 * Request completion handler for request-based dm

--- 525 unchanged lines hidden ---
322 default:
323 DMWARN("unimplemented target endio return value: %d", r);
324 BUG();
325 }
326}
327
328/*
329 * Request completion handler for request-based dm

--- 525 unchanged lines hidden ---