bvec_iter rewind API

2018-08-28 Thread Kent Overstreet
I just came across bi_done and your patch that added it - f9df1cd99e bio: add bvec_iter rewind API I invite you to think through what happens to a bio that gets split by something further down the stack, and then rewound after completion: To create the first half of the split, you just truncate

Re: [PATCH] blktests: remove unused null_blk parameter for _init_null_blk in block/016

2018-08-28 Thread Omar Sandoval
On Sat, Aug 25, 2018 at 06:06:19PM +0800, Yi Zhang wrote: > Signed-off-by: Yi Zhang > --- > tests/block/016 | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tests/block/016 b/tests/block/016 > index 0e6f2e1..e0a63ad 100755 > --- a/tests/block/016 > +++ b/tests/block/016