Re: [RFC PATCH v5 09/10] fs: introduce new helper sync_fs_and_blockdev()

From: Amir Goldstein
Date: Tue Oct 19 2021 - 03:15:42 EST


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/

Thanks,
Amir.