[PATCH 0/2] Squashing long inodes.

Denis Obrezkov reprofy@etersoft.ru
Thu Feb 27 17:23:00 GMT 2014


Hi,

nowadays we can observe active cooperation between 64bit and 32bit systems. Due to this we have a compatibility problem - programs on 32bit systems have to operate with 64bit inodes. 
Most of these programs use stat to check out file's presence and don's use inodes themselves. Sometimes we could resolve this problem by means of rebuilding them with -D_FILE_OFFSET_BITS=64 flag. 
But many of them can't be rebuilt. So there is another way that is used in other products which have such a problem(e.g. fuse) - squashing inodes for 32bit systems.

Should it be solved? Should it be solved a different way? 


Denis Obrezkov (2):
  Squashing-64bit-file-inode-into-32bit-inode-field
  Squashing 64bit directory inode into 32bit inode field

 .../unix/sysv/linux/generic/wordsize-32/getdents.c      | 17 ++++++++++++++---
 sysdeps/unix/sysv/linux/xstatconv.c                     | 14 ++++++++++----
 2 files changed, 24 insertions(+), 7 deletions(-)

-- 
1.8.4.5



More information about the Libc-alpha mailing list