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