[LTP] [PATCH] kernel/device-drivers/zram/zram01.sh : add a sync

Ian Wienand iwienand@redhat.com
Thu Aug 3 14:32:11 CEST 2023


On Thu, Aug 03, 2023 at 12:59:25PM +0200, Martin Doucha wrote:
> > I guess that the files written by the dd above end up in page cache and
> > are not written out until much later. Does it fix the problem if you add
> > fdatasync to the dd commandline? That should be faster than using the
> > big hammer and sysncing the whole system.
> 
> This is actually a kernel bug reported upstream:
> https://lore.kernel.org/linux-block/20221107191136.18048-1-pvorel@suse.cz/
> 
> Not only the test files stay in page cache, but the whole VFAT superblock
> seems to disappear from the device as well until sync.

Interesting, thanks for the link!  Reading through that, it doesn't
seem resolved, and I guess new information is that I saw this on an
arm64 host rather than a ppc64le.

It doesn't seem like there was a firm conclusion reached in that
thread -- the machine I could repeat this on has been removed, but I
will try to recreate it with this new information in mind ...

-i



More information about the ltp mailing list