Re: What is GetXid/FreeXid supposed to actually do?

Christoph Hellwig <[email protected]>
Newsgroups gmane.linux.file-systems.cifs
Message-ID <[email protected]>
On Sun, May 24, 2009 at 03:21:07PM -0400, Jeff Layton wrote:
> Any objection to just replacing this xid value with the pid or tgid
> instead? Does this xid value give you anything that that doesn't?

Yeah, from all that I can see there is always at most one xid in
use per thread.  So just replacing it with a tgid should work easily.
Even better would be replacing all that ad-hoc debugging with the
ftrace event tracer.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.