diff options
author | Kent Overstreet <kmo@daterainc.com> | 2013-11-23 18:19:27 -0800 |
---|---|---|
committer | Kent Overstreet <kmo@daterainc.com> | 2013-11-23 22:33:54 -0800 |
commit | 59d276fe02d7e887a4825ef05c80b8f8c54ba60a (patch) | |
tree | dbb8c78a922d47652c08d9f5e46d77708ac95543 /drivers/block | |
parent | bdb53207411ae39b8a80dda0a66d1b468cbe1380 (diff) | |
download | blackbird-op-linux-59d276fe02d7e887a4825ef05c80b8f8c54ba60a.tar.gz blackbird-op-linux-59d276fe02d7e887a4825ef05c80b8f8c54ba60a.zip |
block: Add bio_clone_fast()
bio_clone() just got more expensive - however, most users of bio_clone()
don't actually need to modify the biovec. If they aren't modifying the
biovec, and they can guarantee that the original bio isn't freed before
the clone (also true in most cases), we can just point the clone at the
original bio's biovec.
Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Diffstat (limited to 'drivers/block')
0 files changed, 0 insertions, 0 deletions