gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gluster-devel] inodes


From: Emmanuel Dreyfus
Subject: Re: [Gluster-devel] inodes
Date: Sat, 29 Oct 2011 08:01:29 +0200
User-agent: MacSOUP/2.7 (unregistered for 1743 days)

Emmanuel Dreyfus <address@hidden> wrote:

> I am alost done: afr does afr_itransform on inode numbers from readdir,
> but not those from lookup/stat. What is the correct behavior? 

To be more complete: the inode I get from stat is twice the inode I get
from readdir. As I understand, afr_itransform() does that because I have
two clients. Here is a test output:
name = "misc", readdir ino = 2b97b6feb3b6c862, stat ino =
572f6dfd676d90c4

So that means stat inode is afr_itransform'ed but not readdir inode,
which is be the opposite of what I said earlier.

That beahviour is fixed by making sure readdir and readdirp get the same
afr_itransform treatment.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]