block: Convert bio_iovec() to bvec_iter
authorKent Overstreet <kmo@daterainc.com>
Wed, 7 Aug 2013 21:24:32 +0000 (14:24 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 31 Oct 2013 14:04:49 +0000 (08:04 -0600)
commit3d14ea51119f4afad8d0ac4d206923bca744684d
treeb7e8052cbe175f65a04f460f3ac35b0d90c51786
parent971ecaf05e526fee159a3711a7ee831fe4d397ab
block: Convert bio_iovec() to bvec_iter

For immutable biovecs, we'll be introducing a new bio_iovec() that uses
our new bvec iterator to construct a biovec, taking into account
bvec_iter->bi_bvec_done - this patch updates existing users for the new
usage.

Some of the existing users really do need a pointer into the bvec array
- those uses are all going to be removed, but we'll need the
functionality from immutable to remove them - so for now rename the
existing bio_iovec() -> __bio_iovec(), and it'll be removed in a couple
patches.

Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: "Ed L. Cashin" <ecashin@coraid.com>
Cc: Alasdair Kergon <agk@redhat.com>
Cc: dm-devel@redhat.com
Cc: "James E.J. Bottomley" <JBottomley@parallels.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/aoe/aoecmd.c
drivers/md/bcache/io.c
drivers/md/dm-verity.c
drivers/scsi/sd.c
fs/bio.c
include/linux/bio.h