public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* given a pointer to xfs_inode_t, how to determine path?
@ 2012-09-17 15:51 Chris Friesen
  2012-09-17 16:21 ` Ben Myers
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Friesen @ 2012-09-17 15:51 UTC (permalink / raw)
  To: Ben Myers, Alex Elder, xfs


Hi,

We're running 2.6.27 (upgrading not currently possible, embedded product).

We had a situation arise where we could see in stack traces that a 
number of tasks were stuck in vn_iowait().  That function takes a 
pointer to xfs_inode_t.  Given that, would it be possible to work 
backwards to determine a filesystem path corresponding to that inode?  I 
realize it would likely only go back to the head of the filesystem, but 
that would be fine.

Thanks,
Chris


-- 

Chris Friesen
Software Designer

3500 Carling Avenue
Ottawa, Ontario K2H 8E9
www.genband.com

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-09-19 15:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-17 15:51 given a pointer to xfs_inode_t, how to determine path? Chris Friesen
2012-09-17 16:21 ` Ben Myers
2012-09-17 22:49   ` Dave Chinner
2012-09-19 15:15     ` Ben Myers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox