xfs
[Top] [All Lists]

given a pointer to xfs_inode_t, how to determine path?

To: Ben Myers <bpm@xxxxxxx>, Alex Elder <elder@xxxxxxxxxx>, xfs@xxxxxxxxxxx
Subject: given a pointer to xfs_inode_t, how to determine path?
From: Chris Friesen <chris.friesen@xxxxxxxxxxx>
Date: Mon, 17 Sep 2012 09:51:37 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Lightning/1.0b3pre Thunderbird/3.1.16

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

<Prev in Thread] Current Thread [Next in Thread>