Re: [Gluster-devel] preparent and postparent?

2012-05-25 Thread Xavier Hernandez
On 05/24/2012 03:05 PM, Jeff Darcy wrote: On 05/24/2012 03:10 AM, Xavier Hernandez wrote: 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. Thank you, Xavi. :)

Re: [Gluster-devel] preparent and postparent?

2012-05-24 Thread Jeff Darcy
On 05/24/2012 03:10 AM, Xavier Hernandez wrote: > 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. Thank you, Xavi. :) If you really want to have some fun,

Re: [Gluster-devel] preparent and postparent?

2012-05-24 Thread Xavier Hernandez
On 05/24/2012 03:31 AM, Emmanuel Dreyfus wrote: Jeff Darcy 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

Re: [Gluster-devel] preparent and postparent?

2012-05-23 Thread Emmanuel Dreyfus
Jeff Darcy 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

Re: [Gluster-devel] preparent and postparent?

2012-05-23 Thread Jeff Darcy
On Wed, 23 May 2012 16:58:02 + Emmanuel Dreyfus 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. _

[Gluster-devel] preparent and postparent?

2012-05-23 Thread Emmanuel Dreyfus
Hi in the protocol/server xlator, there are many occurences where callbacks have a struct iatt for preparent and postparent. What are these for? Is it a normal behavior to have different things in preparent and postparent? -- Emmanuel Dreyfus m...@netbsd.org ___