[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <001e01d64482$fd03cbd0$f70b6370$@samsung.com>
Date: Wed, 17 Jun 2020 17:40:43 +0900
From: "Namjae Jeon" <namjae.jeon@...sung.com>
To: "'Sungjong Seo'" <sj1557.seo@...sung.com>,
"'Hyunchul Lee'" <hyc.lee@...il.com>
Cc: <linux-fsdevel@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH v2] exfat: call sync_filesystem for read-only remount
> > 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@...il.com>
>
> Acked-by: Sungjong Seo <sj1557.seo@...sung.com>
Applied. Thanks!
Powered by blists - more mailing lists