From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arjan van de Ven Subject: Re: [PATCH] vfs: Add a trace point in the mark_inode_dirty function Date: Fri, 20 Nov 2009 06:45:11 -0800 Message-ID: <20091120064511.268cc8fd@infradead.org> References: <20091025225342.007138f5@infradead.org> <20091111020108.GA11423@localhost> <20091110223456.01ef355f@infradead.org> <4AFA6AEF.5060306@garzik.org> <20091111081905.270a4e55@infradead.org> <4AFB4AC7.1090405@intel.com> <20091112072217.GA31719@elte.hu> <20091120104335.GB29143@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Ingo Molnar , "Kok, Auke" , "Frank Ch. Eigler" , Jeff Garzik , "Wu, Fengguang" , "linux-kernel@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" , Christoph Hellwig , Al Viro , Frederic Weisbecker To: Christoph Hellwig Return-path: In-Reply-To: <20091120104335.GB29143@infradead.org> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Fri, 20 Nov 2009 05:43:35 -0500 Christoph Hellwig wrote: > > Which btw brings up another good argument - to make the tracing really > useful we need to have conventions. While the inode number seems to > be a realtively easy one printing the device is more difficult. XFS > just prints the raw major/minor to stay simple, ext4 has a > complicated ad-hoc cache of device names, and this one just prints > the superblock id string. I was just trying to stay compatible with blockdump, and it even makes sense ;) > > Of course for a user the name is a lot more meaninful, but also > relatively expensive to generate. Then again I'm not even sure how > the last pathname component only here is all that useful - it can't > be used to easily find the file. in my case it's not about finding the file, but finding the place in the application that is doing the writing. The last pathname component is more than enough for this.... > -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org