• Kent Overstreet's avatar
    aoe: Convert to immutable biovecs · feb261e2
    Kent Overstreet authored
    Now that we've got a mechanism for immutable biovecs -
    bi_iter.bi_bvec_done - we need to convert drivers to use primitives that
    respect it instead of using the bvec array directly.
    
    The aoe code no longer has to manually iterate over partial bvecs, so
    some struct members go away - other struct members are effectively
    renamed:
    
    buf->resid	-> buf->iter.bi_size
    buf->sector	-> buf->iter.bi_sector
    
    f->bcnt		-> f->iter.bi_size
    f->lba		-> f->iter.bi_sector
    Signed-off-by: default avatarKent Overstreet <kmo@daterainc.com>
    Cc: Jens Axboe <axboe@kernel.dk>
    Cc: "Ed L. Cashin" <ecashin@coraid.com>
    feb261e2
aoecmd.c 36.7 KB