Messages in this thread | | | From | "Namjae Jeon" <> | Subject | RE: [PATCH v2] exfat: call sync_filesystem for read-only remount | Date | Wed, 17 Jun 2020 17:40:43 +0900 |
| |
> > We need to commit dirty metadata and pages to disk before remounting > > exfat as read-only. > > > > This fixes a failure in xfstests generic/452 > > > > generic/452 does the following: > > cp something <exfat>/ > > mount -o remount,ro <exfat> > > > > the <exfat>/something is corrupted. because while exfat is remounted > > as read-only, exfat doesn't have a chance to commit metadata and vfs > > invalidates page caches in a block device. > > > > Signed-off-by: Hyunchul Lee <hyc.lee@gmail.com> > > Acked-by: Sungjong Seo <sj1557.seo@samsung.com> Applied. Thanks!
| |