RE: [PATCH] exfat: do not clear VolumeDirty in writeback

From: Yuezhang.Mo@xxxxxxxx
Date: Thu Mar 03 2022 - 02:08:40 EST


Hi, Kohada.Tetsuhiro

> >(PS: The original logic is to clear VolumeDirty after BitMap, FAT and directory
> entries are updated.)
>
> However, the writing order was not guaranteed.
> More synchronous writes are needed to guarantee the write order.

If "dirsync" or "sync" is enabled, BitMap, FAT and directory entries are guaranteed to be written in order.
This is the reason to keep clearing VolumeDirty.


Best Regards,
Yuezhang Mo