Re: Question about fsync in copy-up operaton

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

 



On Sun, 13 Feb 2022 at 15:56, Chengguang Xu <cgxu519@xxxxxxxxxxxx> wrote:
>
> Hi Folks,
>
> During copy-up when parent dir does not exist then will create parent
> dir first.
> However, I noticed only regular file calls fsync in the end of copy-up
> operation,
> so how newly created parent dir get synced in this case?

Looks like an oversight.  It should fsync parent dir as well.

Thanks,
Miklos



[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