[Gluster-devel] When inode table is populated?

Anoop C S anoopcs9 at gmail.com
Wed Jul 30 07:13:14 UTC 2014


On 07/30/2014 12:29 PM, Raghavendra Gowdappa wrote:
>
> ----- Original Message -----
>> From: "Jiffin Thottan" <jthottan at redhat.com>
>> To: gluster-devel at gluster.org
>> Sent: Wednesday, July 30, 2014 12:22:30 PM
>> Subject: [Gluster-devel] When  inode table is populated?
>>
>> Hi,
>>
>> When we were trying to call rename from translator (in reconfigure) using
>> STACK_WIND , inode table(this->itable) value seems to be null.
>>
>> Since inode is required for performing rename, When will inode table gets
>> populated and Why it is not populated in reconfigure or init?
> Not every translator has an inode table (nor it is required to). Only the translators which do inode management (like fuse-bridge, protocol/server, libgfapi, possibly nfsv3 server??) will have an inode table associated with them. If you need to access itable, you can do that using inode->table.

Here the old location was created by assigning a fixed gfid using 
STACK_WIND (mkdir) from translator [notify ( )]. And inode was null 
inside its cbk function. Thus old location doesn't have an inode value.

>
>> Or should we create a private inode table and generate inode using it?
>>
>> -Jiffin
>> _______________________________________________
>> Gluster-devel mailing list
>> Gluster-devel at gluster.org
>> http://supercolony.gluster.org/mailman/listinfo/gluster-devel
>>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at gluster.org
> http://supercolony.gluster.org/mailman/listinfo/gluster-devel

-- 
Anoop C S
+91 740 609 8342



More information about the Gluster-devel mailing list