* TAKE 972004 - Make xfs_bulkstat() to report unlinked but referenced inodes
@ 2007-10-19 1:24 Vlad Apostolov
0 siblings, 0 replies; only message in thread
From: Vlad Apostolov @ 2007-10-19 1:24 UTC (permalink / raw)
To: sgi.bugs.xfs; +Cc: xfs mailing list
Make xfs_bulkstat() to report unlinked but referenced inodes
We need xfs_bulkstat() to report inode stat for inodes with
link count zero but reference count non zero.
The fix here:
changed this behavior and made xfs_bulkstat() to filter all
unlinked inodes including those that are not destroyed yet but
held by reference.
The attached patch returns back to the original behavior by
marking the on-disk inode buffer "dirty" when di_mode is cleared
(at that time both inode link and reference counter are zero).
Date: Fri Oct 19 11:21:26 AEST 2007
Workarea: soarer.melbourne.sgi.com:/home/vapo/isms/linux-xfs1
Inspected by: dgc
The following file(s) were checked into:
longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb
Modid: xfs-linux-melb:xfs-kern:29914a
fs/xfs/xfs_itable.c - 1.157 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_itable.c.diff?r1=text&tr1=1.157&r2=text&tr2=1.156&f=h
- pv 972004, rv dgc - Make xfs_bulkstat() to report unlinked but
referenced inodes
fs/xfs/xfs_inode.c - 1.484 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_inode.c.diff?r1=text&tr1=1.484&r2=text&tr2=1.483&f=h
- pv 972004, rv dgc - Make xfs_bulkstat() to report unlinked but
referenced inodes
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-10-19 1:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-19 1:24 TAKE 972004 - Make xfs_bulkstat() to report unlinked but referenced inodes Vlad Apostolov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.