given a pointer to xfs_inode_t, how to determine path?

Chris Friesen chris.friesen at genband.com
Mon Sep 17 10:51:37 CDT 2012


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



More information about the xfs mailing list