Josef Bacik <jbacik@xxxxxx> writes: > So neither of these cases happened, I just didn't see _anything_ in > the directory when I mounted the fs. Once I mounted the parent subvol > and walked into the default subvol I could see everything properly. > This is with clearing DISCONNECTED and still using d_splice_alias() in > lookup. > > Once I switched d_splice_alias() to d_materialise_unique() in > btrfs_lookup() everything went back to working as normal. So I'm > calling it a win and forgetting we ever had this conversation. > Thanks, Yes. d_splice_alias won't find anything unless DCACHE_DISCONNECTED is set, and dmaterialse_unique is definitely what you want. Eric -- 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