On Tue, Oct 19, 2021 at 12:13:09AM +0800, Yi Zhang wrote: > So the bisecting shows it was introduced with below commit: > > commit 8e141f9eb803e209714a80aa6ec073893f94c526 > Author: Christoph Hellwig <hch@xxxxxx> > Date: Wed Sep 29 09:12:40 2021 +0200 > > block: drain file system I/O on del_gendisk I can reproduce this, and it seems due to the fact that the pmem driver overloads q_usage_counter for it's purposes (pgmap refcounting). Let me think a little more about what we can do here.