Re: Postpone copy-up until first real write?

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

 



On Mon, Jan 14, 2019 at 10:21 AM cgxu519 <cgxu519@xxxxxxx> wrote:
[...]
> > Do we gain anything (simplicity? relaxed locking order) if we always
> > copy up metadata on open O_RDWR and only delay data copy up
> > until first write/page fault?
> >
> > Chengguang,
> >
> > For your use case, is it acceptable if we copy up metadata
> > (and parents) before first write?
>
> In our use case that will be fine if copy up metadata(and parents) is
> quick enough.
>

Chengguang,

I posted an RFC patch (sorry forgot to CC you).
It seems to be working as expected short of the mmap case,
but I only tested manually - have not written any tests yet.

You may test the RFC patch and let me know if it meets the requirements
of your use case.

Thanks,
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