Re: When inode table is populated?

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

 




On 07/30/2014 12:29 PM, Raghavendra Gowdappa wrote:

----- Original Message -----
From: "Jiffin Thottan" <jthottan@xxxxxxxxxx>
To: gluster-devel@xxxxxxxxxxx
Sent: Wednesday, July 30, 2014 12:22:30 PM
Subject:  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@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-devel

_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-devel

--
Anoop C S
+91 740 609 8342

_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-devel




[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux