[Gluster-devel] glfs_resolve new file force lookup

Rudra Siva rudrasiva11 at gmail.com
Fri Nov 21 12:20:00 UTC 2014


Hi,

A new file create does not honour the force lookup avoidance - in my
case I am not interested in the attributes or forcing a lookup, just
need the inode details - is there a specific reason why !force_lookup
is not outside the block?

https://github.com/gluster/glusterfs/blob/master/api/src/glfs-resolve.c

270:     if (!force_lookup) {

suggested fix:

move this to outside of if-else to line 296 - so it applies to
existing as well as new files.

Can someone explain what do the inode and inode table data structures represent?
-- 
-Siva


More information about the Gluster-devel mailing list