On Sun, May 12, 2024 at 11:30 AM Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote: > > On Sun, May 12, 2024 at 11:06:07AM +0800, Yafang Shao wrote: > > This could resolve the secondary concern. > > Tested-by: Yafang Shao <laoar.shao@xxxxxxxxx> > > > > Might it be feasible to execute the vfs_rmdir_cleanup() within a > > kwoker? Such an approach could potentially mitigate the initial > > concern as well. > > I'm honestly not sure I understood you correctly; in case I > have and you really want to make that asynchronous, Exactly, that's precisely my point. > the answer's "we > can't do that". What's more, we can not even delay that past the call > of mnt_drop_write() in do_rmdir(). Thanks for your explanation. -- Regards Yafang