Linus Torvalds writes: (Summary)
Ugh, no, that's *very* non-trivial.
Ugh, no, that's *very* non-trivial.
I can see us doing magical things with the inode->i_mapping being an ovlfs-private mapping, and then sharing the actual physical pages with the mapping of the lower filesystem.
the mapping of the lower filesystem.
So that way, the actual file data would never point directly at the lower filesystem.
lower filesystem.
But equally obviously, that would *only* work when the lower filesystem is never modified directly. So it might be a completely broken model, I haven't thought much about it.
broken model, I haven't thought much about it.
Linus
Linus
Linus
Ugh, no, that's *very* non-trivial.
I can see us doing magical things with the inode->i_mapping being an ovlfs-private mapping, and then sharing the actual physical pages with the mapping of the lower filesystem.
the mapping of the lower filesystem.
So that way, the actual file data would never point directly at the lower filesystem.
lower filesystem.
But equally obviously, that would *only* work when the lower filesystem is never modified directly. So it might be a completely broken model, I haven't thought much about it.
broken model, I haven't thought much about it.
Linus
Linus
Linus