From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Roese Date: Thu, 26 Feb 2009 13:34:29 +0100 Subject: [U-Boot] [PATCH 2/9] UBIFS: Implement read-only UBIFS support in U-Boot (Part 1) In-Reply-To: <1235646257.25808.34.camel@localhost.localdomain> References: <1235645302-24095-1-git-send-email-sr@denx.de> <1235646257.25808.34.camel@localhost.localdomain> Message-ID: <200902261334.30092.sr@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thursday 26 February 2009, Artem Bityutskiy wrote: > > The U-Boot UBIFS implementation is largely a direct copy from the current > > Linux version (2.6.29-rc6). As already done in the UBI version we have an > > "abstraction layer" to redefine or remove some OS calls (e.g. > > mutex_lock() ...). This makes it possible to use the original Linux code > > with very little changes. And by this we can better update to later Linux > > versions. > > Well, this is not abstraction layer, we just thought that at some point > we'd have more fine-grained locking, so we wrapped the LPT mutex :-) > > Also, you could probably remove a lot of code related to writing, if you > wanted. E.g., whole garbage collecting, committing, synching stuff, and > so on. Yes, sure. I already removed a lot of code. It would be great if you could point me to some parts of the code that could be removed as well. Could be that I overlooked some things. Thanks. Best regards, Stefan