Re: [PATCH v4] ovl: Sync upper dirty data when sync overlayfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 在 2017年12月7日,下午6:19,Miklos Szeredi <miklos@xxxxxxxxxx> 写道:
> 
> On Wed, Nov 29, 2017 at 3:01 AM, Chengguang Xu <cgxu@xxxxxxxxxxxx> wrote:
>> When executing filesystem sync or umount on overlayfs,
>> dirty data does not get synced as expected on upper filesystem.
>> This patch fixes sync filesystem method to keep data consistency
>> for overlayfs.
> 
> Do we really need to export __sync_filesystem()?
> 
> Just skipping wait == 0 and calling sync_filesystem() for wait == 1
> should be equivalent.
> 
> Fixed up patch queued.  Let me know if I missed something…

Looks good to me.


Thanks,
Chengguang.




--
To unsubscribe from this list: send the line "unsubscribe linux-unionfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystems Devel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux