---- 在 星期二, 2021-04-13 16:43:27 Miklos Szeredi <miklos@xxxxxxxxxx> 撰写 ---- > On Tue, Apr 13, 2021 at 4:14 AM Chengguang Xu <cgxu519@xxxxxxxxxxxx> wrote: > > > > ---- 在 星期五, 2021-04-09 21:50:35 Miklos Szeredi <miklos@xxxxxxxxxx> 撰写 ---- > > > On Fri, Nov 13, 2020 at 7:57 AM Chengguang Xu <cgxu519@xxxxxxxxxxxx> wrote: > > > > > > > > Now drop overlayfs' inode will sync dirty data, > > > > so we change to only drop clean inode. > > > > > > I don't understand what happens here. Please add more explanation. > > > > In iput_final(), clean overlayfs inode will directly drop as the same as before, > > dirty overlayfs inode will keep in the cache to wait writeback to sync dirty data > > and then add to lru list to wait reclaim. > > > > The purpose of doing this is to keep compatible behavior with original one, > > because without this series, dropping overlayfs inode will not trigger syncing > > underlying dirty inode. > > I get it now. Can you please update the patch header with this description? > No problem, I'll update commit log in next version. Thanks, Chengguang