On Wed, Jan 31, 2018 at 11:13 PM, Vivek Goyal <vgoyal@xxxxxxxxxx> wrote: > Hi, > > Please find attached V11 of patches. Looks like now new design might > change these patches significantly based on Miklos's feedback. So I > am posting my latest patches based on current design. Just in case we > decide that we want to stick to old design. > > Change from V10: > > - Based on Amir's feedback, I am not storing the full origin chain in > lowerstack now. Instead now I am storing only two dentries at max in > lowerstack. lowerstack[0] will point to top most metacopy dentry in > lower and lowerstack[1] will have data dentry. > BTW, this is not contrary to Miklos's "big unifying theory". In theory, directories could also be METACOPY when copied up for metadata operations and become real copy ups when they get the first child entry. If METACOPY directories existed in middle layers, we could also eliminate them from the stack. In fact, we could have eliminated empty dirs from the stack if we had a quick way of knowing that a dir is empty. Cheers, Amir. -- To unsubscribe from this list: send the line "unsubscribe linux-unionfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html