On Mon, Feb 26, 2018 at 02:10:00PM +0800, tang.junhui@xxxxxxxxxx wrote: > From: Tang Junhui <tang.junhui@xxxxxxxxxx> > > Hello, Matthias > > Sorry for the later reply, I have reproduced this issue, > I found s->iop.bio became invalid after calling bio_complete() > in search_free(). Maybe its upper layer's faulty, since bio should > not freed before we calling bio_put(), but we'd better calling > bio_put() first before calling bio_complete() to notify upper layer > ending this bio. Hello Tang Junhui, thank you very much for your attention and work. I tested the patch (with 4.15.0), and I don't see any of the former issues anymore. No more hangs or crashes. Brilliant! Best regards Matthias Ferdinand -- To unsubscribe from this list: send the line "unsubscribe linux-bcache" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html