From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Woodhouse To: "Artem B. Bityuckiy" In-Reply-To: References: Content-Type: text/plain Date: Wed, 17 Nov 2004 10:06:58 +0000 Message-Id: <1100686018.9201.49.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: MTD List Subject: Re: JFFS2 improvement idea List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2004-11-17 at 10:06 +0000, Artem B. Bityuckiy wrote: > In deletion direntries, why not to store the physical offset of the > deleted direntry (instead of, say, mctime field)? I need more coffee before I give a coherent answer -- and I need _lots_ of it before I can comment on Ferenc's code, although that looks very good so far. But remember the deletion dirent node can obsolete more than one old dirent, on NAND flash. When we GC a dirent node, we weren't able to immediately mark the old one obsolete so there can be two. Or more, if this keeps happening and we lose power each time we GC the node in question. -- dwmw2