Re: [PATCH v2] ovl: improving copy-up efficiency for big sparse file

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

 



On Sun, Nov 3, 2019 at 2:43 PM Chengguang Xu <cgxu519@xxxxxxxxxxxx> wrote:
>
>  ---- 在 星期四, 2019-10-31 14:53:15 Amir Goldstein <amir73il@xxxxxxxxx> 撰写 ----
>  > >  > Yes, overlayfs does not comply with this "posix"' test.
>  > >  > This is why it was removed from the auto and quick groups.
>  > >
>  > > So I'm curious what is the purpose for the test?
>  > >
>  >
>  > This is a POSIX compliance test.
>  > It is meant to "remind" us that this behavior is not POSIX compliant
>  > and that we should fix it one day...
>  > A bit controversial to have a test like this without a roadmap
>  > when it is going to be fixed in xfstests, but it's there.
>
> I haven't checked carefully for the detail but It seems  feasible if we copy-up lower file  during mmap regardless of ro/rw mode.
> Is it acceptable  by slightly changing copy-up assumption to fulfill POSIX compliance? Or we just wait for a better solution?
>

That was attempted in the past.
It's complicated ;-)

Cheers,
Amir.




[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