Re: [PATCH] dm cache: increment bi_remaining when bi_end_io isrestored

From: Jens Axboe
Date: Tue Dec 03 2013 - 21:16:25 EST


On Tue, Dec 03 2013, Mike Snitzer wrote:
> Move the bio->bi_remaining increment into dm_unhook_bio() so the
> overwrite_endio() handler works as expected.
>
> Signed-off-by: Mike Snitzer <snitzer@xxxxxxxxxx>
> ---
> drivers/md/dm-cache-target.c | 12 ++++++------
> 1 files changed, 6 insertions(+), 6 deletions(-)
>
> [Jens: this one would've been needed as a post-merge fix for v3.13 but
> immutable biovecs fell out.. please apply to your for-3.14/core]

Thanks Mike, applied.

--
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/