Whamcloud - gitweb
LU-3491 llite: Replace printing of i_ino with ll_inode2fid() 48/6848/11
authorJames Nunez <james.a.nunez@intel.com>
Mon, 1 Jul 2013 22:18:59 +0000 (16:18 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 2 Nov 2013 00:56:27 +0000 (00:56 +0000)
The printing of i_ino/i_generation in llite messages is not nearly so
useful as printing the full inode FID, since i_ino is a "compressed"
version of the FID and there may be duplicate values for i_ino in some
cases (especially if running on a 32-bit client).

All instances of printing i_ino/i_generation are replaced with
the FID using ll_inode2fid(). All instances, except for one, of
printing just i_ino was replaced by printing the FID. In all
CERROR lines touched by the i_ino replacements, the device name
or fsname was added at the beginning of the message if it did not
already exist.

Signed-off-by: James Nunez <james.a.nunez@intel.com>
Change-Id: Ia32af1357729bf1951e0b713e75986c8177dd946
Reviewed-on: http://review.whamcloud.com/6848
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>

No differences found