Details
-
Bug
-
Resolution: Fixed
-
Minor
-
Lustre 2.10.4
-
RHEL 7.5
-
3
-
9223372036854775807
Description
File creates are not tracked in llite stats. Andreas mentioned this in LU-8150. I can submit a patch to change it, but wasn't sure whether it was just overlooked or if there was a reason it wasn't done.
bash-4.2$ cat /proc/fs/lustre/llite/lquake-ffff883a74d0a000/stats
snapshot_time 1530651162.784915742 secs.nsecs
bash-4.2$ touch /p/lquake/faaland1/touched
bash-4.2$ echo $?
0
bash-4.2$ cat /proc/fs/lustre/llite/lquake-ffff883a74d0a000/stats
snapshot_time 1530651198.529596878 secs.nsecs
open 1 samples [regs]
close 1 samples [regs]
readdir 2 samples [regs]
setattr 1 samples [regs]
getattr 3 samples [regs]
alloc_inode 1 samples [regs]
getxattr 7 samples [regs]
getxattr_hits 6 samples [regs]
removexattr 1 samples [regs]
inode_permission 6 samples [regs]
bash-4.2$ grep -e creat -e mknod /proc/fs/lustre/llite/lquake-ffff883a74d0a000/stats