Re: [PATCH] fs: inode: use queue_rcu_work() instead of call_rcu()

From: Christoph Hellwig
Date: Fri Oct 15 2021 - 09:24:13 EST


On Fri, Oct 15, 2021 at 04:28:10PM +0800, Zqiang wrote:
>
> On 2021/10/15 下午4:04, Christoph Hellwig wrote:
> > NAK.
> >
> > 1. We need to sort ounderlying issue first as I already said _twice_.
> > 2. this has a major penality on all file systems
>
> This problem report by sunhao,  the log
>
> https://drive.google.com/file/d/1M5oyA_IcWSDB2XpnoX8SDmKJA3JhKltz/view?usp=sharing

When I wget that it just returns garbage unfortunately.

>
> but I can not find useful information, not sure if it is related to the loop device driver.
> are you mean There is a problem about inode lifetime ?

Yes. This implies that the del_gendisk hasn't been called before the
block device lifetimes hits 0.