diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2008-09-11 13:17:37 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-10-09 08:56:17 +0200 |
commit | 0a0d96b03a1f3bfd6bc3ea08008699e8e59fccd9 (patch) | |
tree | 59cbbcb691a76121fba8d7af74d89558296d5834 /block/blk.h | |
parent | block: adjust blkdev_issue_discard for swap (diff) | |
download | linux-0a0d96b03a1f3bfd6bc3ea08008699e8e59fccd9.tar.xz linux-0a0d96b03a1f3bfd6bc3ea08008699e8e59fccd9.zip |
block: add bio_kmalloc()
Not all callers need (or want!) the mempool backing guarentee, it
essentially means that you can only use bio_alloc() for short allocations
and not for preallocating some bio's at setup or init time.
So add bio_kmalloc() which does the same thing as bio_alloc(), except
it just uses kmalloc() as the backing instead of the bio mempools.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block/blk.h')
0 files changed, 0 insertions, 0 deletions