On Wed, 2009-03-04 at 12:52 +0100, Goswin von Brederlow wrote: > hooanon05@xxxxxxxxxxx writes: > > > Dave Kleikamp: > >> I understand the file physically resides on the lower layer. The delta > >> file system will presents a new file on a different path that initially > >> has the contents of the lower file. If you are mmapping the file > >> presented by the delta files system, then both mmaps will see the same > >> modified data. > > > > Ok, I will read fuse (instead of deltafs.c) again. > > Thank you. > > > > > > J. R. Okajima > > By the way. If you mmap a file in fuse shared twice wouldn't the > kernel share the physical pages. So the first access calls fuse and > loads the data into memory, the second access would just get the same > physical page mapped. Right? Right. Some of my comments were a result of not being clear on what J. R. meant when he asked about the first mapping being to the lower file. Both mmaps to the same file in fuse would access the same physical pages. Shaggy -- David Kleikamp IBM Linux Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html