lkml.org 
[lkml]   [2022]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH] exfat: do not clear VolumeDirty in writeback
Date
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
\
 
 \ /
  Last update: 2022-03-03 08:09    [W:0.073 / U:0.724 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site