From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sj-iport-3-in.cisco.com ([171.71.176.72] helo=sj-iport-3.cisco.com) by canuck.infradead.org with esmtp (Exim 4.63 #1 (Red Hat Linux)) id 1Ho9Ou-0007Ay-W0 for linux-mtd@lists.infradead.org; Tue, 15 May 2007 22:38:07 -0400 To: =?iso-8859-1?Q?J=C3=B6rn?= Engel Subject: Re: [PATCH] LogFS take three References: <20070515151919.GA32510@lazybastard.org> From: Roland Dreier Date: Tue, 15 May 2007 19:37:36 -0700 In-Reply-To: <20070515151919.GA32510@lazybastard.org> (=?iso-8859-1?Q?J=C3?= =?iso-8859-1?Q?=B6rn?= Engel's message of "Tue, 15 May 2007 17:19:20 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: akpm@osdl.org, Evgeniy Polyakov , Albert Cahalan , Greg KH , linux-kernel@vger.kernel.org, Ingo Oeser , Pekka Enberg , linux-mtd@lists.infradead.org, Jan Engelhardt , linux-fsdevel@vger.kernel.org, Thomas Gleixner List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , There are rather a lot of of FIXME comments, including scary stuff like > + /* > + * FIXME: this cannot be right but it does "fix" a bug of i_count > + * dropping too low. Needs more thought. > + */ > + atomic_inc(&old_dentry->d_inode->i_count); and > +int __logfs_write_inode(struct inode *inode) > +{ > + /* > + * FIXME: Those two inodes are 512 bytes in total. Not good to > + * have on the stack. Possibly the best solution would be to bite > + * the bullet and do another format change before release and > + * shrink the inodes. > + */ > + struct logfs_disk_inode old, new; are you going to change the format? or fix this some other way? I think a sweep through the code searching for FIXME and at least rewriting all such comments to look like stuff that can be deferred would be warranted ;) - R.