[PATCH 1/9] block: Convert integrity to bvec_alloc_bs(), and a bugfix

2012-09-07 Thread Kent Overstreet
This adds a pointer to the bvec array to struct bio_integrity_payload, instead of the bvecs always being inline; then the bvecs are allocated with bvec_alloc_bs(). This is needed eventually for immutable bio vecs - immutable bvecs aren't useful if we still have to copy them, hence the need for

[PATCH 1/9] block: Convert integrity to bvec_alloc_bs(), and a bugfix

2012-09-07 Thread Kent Overstreet
This adds a pointer to the bvec array to struct bio_integrity_payload, instead of the bvecs always being inline; then the bvecs are allocated with bvec_alloc_bs(). This is needed eventually for immutable bio vecs - immutable bvecs aren't useful if we still have to copy them, hence the need for