dm.c (2c55d703391acf7e9101da596d0c15ee03b318a3) | dm.c (613b14884b8595e20b9fac4126bf627313827fbe) |
---|---|
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-core.h" --- 1728 unchanged lines hidden (view full) --- 1737 1738 is_abnormal = is_abnormal_io(bio); 1739 if (unlikely(is_abnormal)) { 1740 /* 1741 * Use bio_split_to_limits() for abnormal IO (e.g. discard, etc) 1742 * otherwise associated queue_limits won't be imposed. 1743 */ 1744 bio = bio_split_to_limits(bio); | 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-core.h" --- 1728 unchanged lines hidden (view full) --- 1737 1738 is_abnormal = is_abnormal_io(bio); 1739 if (unlikely(is_abnormal)) { 1740 /* 1741 * Use bio_split_to_limits() for abnormal IO (e.g. discard, etc) 1742 * otherwise associated queue_limits won't be imposed. 1743 */ 1744 bio = bio_split_to_limits(bio); |
1745 if (!bio) 1746 return; |
|
1745 } 1746 1747 init_clone_info(&ci, md, map, bio, is_abnormal); 1748 io = ci.io; 1749 1750 if (bio->bi_opf & REQ_PREFLUSH) { 1751 __send_empty_flush(&ci); 1752 /* dm_io_complete submits any data associated with flush */ --- 1642 unchanged lines hidden --- | 1747 } 1748 1749 init_clone_info(&ci, md, map, bio, is_abnormal); 1750 io = ci.io; 1751 1752 if (bio->bi_opf & REQ_PREFLUSH) { 1753 __send_empty_flush(&ci); 1754 /* dm_io_complete submits any data associated with flush */ --- 1642 unchanged lines hidden --- |