[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <53EE55C9.7090908@kernel.dk>
Date: Fri, 15 Aug 2014 12:47:37 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Sagi Grimberg <sagig@...lanox.com>, martin.petersen@...cle.com
CC: kmo@...erainc.com, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] block: Fix BUG_ON when pi errors occur
On 08/13/2014 05:49 AM, Sagi Grimberg wrote:
> When getting a pi error we get to bio_integrity_end_io with
> bi_remaining already decremented to 0 where we will eventually
> need to call bio_endio with restored original bio completion handler.
> Calling bio_endio invokes a BUG_ON(). We should call bio_endio_nodec
> instead, like what is done in bio_integrity_verify_fn.
Applied, thanks.
--
Jens Axboe
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists