| To: | Christoph Hellwig <hch@xxxxxxxxxxxxx>, xfs@xxxxxxxxxxx |
|---|---|
| Subject: | Re: [patch 08/22] reduce l_icloglock roundtrips |
| From: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
| Date: | Wed, 3 Dec 2008 05:51:36 -0500 |
| In-reply-to: | <20081203025614.GG18236@disturbed> |
| References: | <20081202160430.775774000@xxxxxxxxxxxxxxxxxxxxxx> <20081202160650.663976000@xxxxxxxxxxxxxxxxxxxxxx> <20081203025614.GG18236@disturbed> |
| User-agent: | Mutt/1.5.18 (2008-05-17) |
On Wed, Dec 03, 2008 at 01:56:14PM +1100, Dave Chinner wrote: > On Tue, Dec 02, 2008 at 11:04:38AM -0500, Christoph Hellwig wrote: > > All but one caller of xlog_state_want_sync drop and re-acquire > > l_icloglock around the call to it, just so that xlog_state_want_sync can > > acquire and drop it. > > Not really a performance problem, though, because the one caller > that doesn't already hold the lock is the common path (i.e. > xlog_write()); the others are in the unmount path, so lock traffic > is not there is not performance critical.... > > Hence I'm not sure this is really necessary. I don't think it's absolutely nessecary, but it's a lot cleaner this way.. |
| Previous by Date: | Re: Assertion failed: atomic_read(&mp->m_active_trans), Christoph Hellwig |
|---|---|
| Next by Date: | Re: [patch 11/22] cleanup xfs_sb.h feature flag helpers, Christoph Hellwig |
| Previous by Thread: | Re: [patch 08/22] reduce l_icloglock roundtrips, Dave Chinner |
| Next by Thread: | [patch 12/22] kill dead inode flags, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |