---- 在 星期二, 2021-10-19 15:15:28 Amir Goldstein <amir73il@xxxxxxxxx> 撰写 ---- > On Thu, Sep 23, 2021 at 4:08 PM Chengguang Xu <cgxu519@xxxxxxxxxxxx> wrote: > > > > Overlayfs needs to call upper layer's ->sync_fs > > and __sync_blockdev() to sync metadata during syncfs(2). > > > > Currently, __sync_blockdev() does not export to module > > so introduce new helper sync_fs_and_blockdev() to wrap > > those operations. > > Heads up: looks like __sync_blockdev() will be gone soon, > but you will have other exported symbols that overlayfs can use > > https://lore.kernel.org/linux-fsdevel/20211019062530.2174626-1-hch@xxxxxx/T/ > Hi Amir, Thanks for the information. Chengguang,