[Gluster-devel] preparent and postparent?

Xavier Hernandez xhernandez at datalab.es
Thu May 24 07:10:59 UTC 2012


On 05/24/2012 03:31 AM, Emmanuel Dreyfus wrote:
> Jeff Darcy<jdarcy at redhat.com>  wrote:
>
>>> in the protocol/server xlator, there are many occurences where
>>> callbacks have a struct iatt for preparent and postparent. What are
>>> these for?
>> NFS needs them to support its style of caching.
> Let me rephrase: what information is stored in preparent and postparent?
preparent and postparent have the attributes (modification time, size, 
permissions, ...) of the parent directory of the file being modified 
before and after the modification is done.

Xavi




More information about the Gluster-devel mailing list