On Tue, Nov 08, 2016 at 07:02:52PM -0700, Jens Axboe wrote: > It smells like an accounting error. One thing that I don't like with the > current scheme is the implicit knowledge that certain flags imply sync > as well. If we clear any of those flags, then we screw up accounting at > the end. > > Does this make a difference? That looks interesting. In the meantime I reproduced a similar hang, but only half-way through an xfstests run with a non-mq device. I'll see how far I can narrow it down and will give your patch a try as well. -- To unsubscribe from this list: send the line "unsubscribe linux-block" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html