Re: [RFC][PATCH v2 0/5] Experiments with overlayfs filemap

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

 



>
> Can you please point me in the direction of how to implement proper
> aops? Or better yet, send me a demo patch?
> I figure we need to call vfs_iter_read/vfs_iter_write of real file
> with IOCB_DIRECT for page io? But I am very uncertain about locking
> order requirements and whether there is already some infrastructure
> that we can use (some splice variant)?
>
> Any other thoughts?
>

Miklos,

I've made a small progress.

Pushed two more commits to ovl-lazy-copyup-wip:
ea9a0083d1ed - ovl: readahead upper inode page cache on overlay page fault
d1ff6e6366d5 - ovl: implement overlay stacked readpage

That implements readpage by reading and copying from upper page cache.

With that change, the basic unionmount test on tmpfs passes.
With unionmount over xfs, tests fail because partial page write
is not working correctly, although mmap partial write works well.

I will try to follow similar pattern to implement writepage by copy to
upper page cache.

Let me know if you think I am going in the wrong direction.

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