On Wed, Jun 27, 2018 at 10:15 PM Raghavendra Gowdappa <rgowd...@redhat.com>
wrote:

> All,
>
> There is a requirement in write-behind where during readdirp we may have
> to invalidate iatts/stats of some of the children of the directory [1]. For
> lack of better alternatives I added a dentry list to parent inode which
> contains all children that've been linked (through lookup or readdirp on
> directory). I myself am not too comfortable with this solution as it might
> eat up significant memory for large directories.
>
> Thoughts?
>


Reading [2] makes me wonder if write-behind is the appropriate place for
this change. Shouldn't md-cache be made aware of inode generations or
something similar?

Thanks,
Vijay

[2] https://bugzilla.redhat.com/show_bug.cgi?id=1512691#c18



>
> [1] https://review.gluster.org/20413
>
> regards,
> Raghavendra
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel@gluster.org
> http://lists.gluster.org/mailman/listinfo/gluster-devel
_______________________________________________
Gluster-devel mailing list
Gluster-devel@gluster.org
http://lists.gluster.org/mailman/listinfo/gluster-devel

Reply via email to