charles [Thu, 9 Nov 2006 23:57:07 +0000 (23:57 +0000)]
Add more checkpoint tracing
charles [Thu, 9 Nov 2006 19:55:24 +0000 (19:55 +0000)]
More checkpoint logging
charles [Wed, 8 Nov 2006 09:52:12 +0000 (09:52 +0000)]
Changes to retirement handling
charles [Wed, 8 Nov 2006 09:49:47 +0000 (09:49 +0000)]
More changes to test harness
charles [Wed, 8 Nov 2006 06:24:34 +0000 (06:24 +0000)]
Change nBytesPerChunk to nDataBytesPerChunk
charles [Wed, 8 Nov 2006 00:33:29 +0000 (00:33 +0000)]
Fix block offset with checkpointing
charles [Tue, 7 Nov 2006 23:37:43 +0000 (23:37 +0000)]
Add more test stuff
charles [Tue, 7 Nov 2006 23:26:52 +0000 (23:26 +0000)]
Fix checkpointing bug
charles [Tue, 7 Nov 2006 23:20:09 +0000 (23:20 +0000)]
Replace with own version of header file
charles [Tue, 24 Oct 2006 18:09:15 +0000 (18:09 +0000)]
Fix autodetection value
charles [Fri, 13 Oct 2006 08:52:49 +0000 (08:52 +0000)]
Tweaks to retirement handling
charles [Tue, 3 Oct 2006 10:13:03 +0000 (10:13 +0000)]
Add large NAND support and improve retirement handling
charles [Tue, 3 Oct 2006 02:26:58 +0000 (02:26 +0000)]
Add missing files to make
charles [Tue, 3 Oct 2006 02:25:57 +0000 (02:25 +0000)]
Fix forced erasure check logic
vwool [Tue, 26 Sep 2006 13:28:13 +0000 (13:28 +0000)]
Interworking with 2.6.18 kernel enabled
Notable is that to enable it for yaffs1 compatibility mode, I introduced
a workaround (translate_spare2oob/translate_oob2spare) which should be
redesigned if possible. The thing is that yaffs1 presumes SmartMedia OOB
layout which might be not true for a lot of modern flash controllers, so
there has to be translation.
Or, in case we get to tags inband, this workaround will become useless.
charles [Thu, 21 Sep 2006 08:13:59 +0000 (08:13 +0000)]
Better retirement and erasure checking.
charles [Thu, 14 Sep 2006 22:02:46 +0000 (22:02 +0000)]
Bounds check on ecc correction
charles [Tue, 5 Sep 2006 23:23:34 +0000 (23:23 +0000)]
Fix problem where a chmod with no file write could cause cache loss
charles [Tue, 25 Jul 2006 21:03:22 +0000 (21:03 +0000)]
Make sure mode is sane
charles [Mon, 5 Jun 2006 04:13:36 +0000 (04:13 +0000)]
Add checkpoint source to kernel compilation
charles [Mon, 5 Jun 2006 04:12:44 +0000 (04:12 +0000)]
Add Nick's yaffs1 autoselection
charles [Mon, 5 Jun 2006 04:10:49 +0000 (04:10 +0000)]
Add support for larger scan array
charles [Thu, 25 May 2006 01:51:27 +0000 (01:51 +0000)]
Add Sergey's patch
charles [Thu, 25 May 2006 01:37:27 +0000 (01:37 +0000)]
Add Sergey's patch
charles [Thu, 25 May 2006 01:26:57 +0000 (01:26 +0000)]
Fix SGID problem
charles [Tue, 23 May 2006 19:08:41 +0000 (19:08 +0000)]
Fix problem with checkpoint free space handling
charles [Sun, 21 May 2006 09:39:12 +0000 (09:39 +0000)]
Fix some checkpoint stuff, add qsort
charles [Sun, 21 May 2006 09:34:12 +0000 (09:34 +0000)]
Add qsort
charles [Wed, 17 May 2006 09:27:23 +0000 (09:27 +0000)]
Add non-partitioned checkpointing
charles [Wed, 17 May 2006 09:20:26 +0000 (09:20 +0000)]
Non-partitioned checkpointing; fix to cache small read/write problem
charles [Mon, 8 May 2006 10:13:34 +0000 (10:13 +0000)]
Checkpointing changes
wookey [Tue, 25 Apr 2006 00:41:43 +0000 (00:41 +0000)]
Fix a couple of mistakes in TRACE/Error messages. Update copyright date.
colin [Fri, 21 Apr 2006 20:24:35 +0000 (20:24 +0000)]
Fix trivial compiler warning
charles [Tue, 21 Mar 2006 20:31:08 +0000 (20:31 +0000)]
Fix unmount spare buffer leak
charles [Wed, 8 Mar 2006 07:59:20 +0000 (07:59 +0000)]
Flush entire cache at umount
charles [Wed, 1 Mar 2006 08:18:09 +0000 (08:18 +0000)]
Fix possible null ptr dereference
charles [Wed, 1 Mar 2006 08:16:24 +0000 (08:16 +0000)]
Add lazy loading and mtd depend
charles [Wed, 1 Mar 2006 08:14:32 +0000 (08:14 +0000)]
Add lazy loading
charles [Wed, 8 Feb 2006 22:38:24 +0000 (22:38 +0000)]
Add hardlinks to yaffs direct
charles [Wed, 8 Feb 2006 22:29:14 +0000 (22:29 +0000)]
Fix free space reporting as per Mikhail Rileev's patch
charles [Wed, 8 Feb 2006 07:52:51 +0000 (07:52 +0000)]
Add Todds readdir rewind mechanism
charles [Thu, 2 Feb 2006 22:14:44 +0000 (22:14 +0000)]
Fix negative hash problem
tpoynor [Fri, 27 Jan 2006 23:54:21 +0000 (23:54 +0000)]
Add /proc interface for modifying debugging trace flags, from John M Cavallo.
charles [Fri, 27 Jan 2006 00:44:10 +0000 (00:44 +0000)]
Remove unused lazyloaded field
tpoynor [Wed, 25 Jan 2006 01:21:08 +0000 (01:21 +0000)]
Handle partial writes more gracefully: return partial byte counts, return
ENOSPC only if no partial count or error code available. Based on fix
from Mikhail Ryleev.
tpoynor [Tue, 24 Jan 2006 22:22:52 +0000 (22:22 +0000)]
Add generic sendfile method for yaffs2, also thereby allowing loopback mount.
charles [Tue, 20 Dec 2005 04:02:18 +0000 (04:02 +0000)]
Don't mark objects deleted during scanning
charles [Mon, 19 Dec 2005 21:46:07 +0000 (21:46 +0000)]
Fix deleted hardlink handling
charles [Thu, 15 Dec 2005 20:27:56 +0000 (20:27 +0000)]
Fix conditional
charles [Wed, 14 Dec 2005 01:18:45 +0000 (01:18 +0000)]
Add yaffs2 autoselection
tpoynor [Tue, 13 Dec 2005 00:34:58 +0000 (00:34 +0000)]
Make the "convert" argument to mkyaffs*image optional.
charles [Thu, 8 Dec 2005 00:54:55 +0000 (00:54 +0000)]
Apply Reed's deadlocking fix (manually applied)
charles [Thu, 8 Dec 2005 00:51:15 +0000 (00:51 +0000)]
Fix kernel compilation probs
charles [Wed, 7 Dec 2005 22:19:26 +0000 (22:19 +0000)]
Hook wide tnode support into Linux
charles [Wed, 7 Dec 2005 22:00:38 +0000 (22:00 +0000)]
Back out mistaken checkin
charles [Wed, 7 Dec 2005 21:49:18 +0000 (21:49 +0000)]
Wide tnode support
tpoynor [Tue, 6 Dec 2005 02:43:01 +0000 (02:43 +0000)]
Add mkyaffsimage to yaffs2 module, some further "make clean" cleanups.
marty [Tue, 29 Nov 2005 20:54:32 +0000 (20:54 +0000)]
Subject: [Yaffs] Avoid tagsEccUnfixed stats bump on mounting partially usedblock
IIUC, yaffs1 compatibility mode checks tags ECCs and updates
stats on tags ECC errors when scanning an unused chunk of a
partially-allocated block at mount time. This causes a
mildly alarming "tagsEccUnfixed..... 1" in /proc/yaffs.
Suggested fix below.
Signed-off-by: Todd Poynor <tpoynor@mvista.com>
charles [Mon, 14 Nov 2005 21:00:54 +0000 (21:00 +0000)]
Apply 2.6.14 patches from Andre
charles [Mon, 7 Nov 2005 07:19:34 +0000 (07:19 +0000)]
Change tracing flags
charles [Mon, 7 Nov 2005 07:13:33 +0000 (07:13 +0000)]
Remove kernel version test
charles [Wed, 2 Nov 2005 06:45:24 +0000 (06:45 +0000)]
Add first cut mkyaffs2image util
marty [Thu, 27 Oct 2005 22:24:04 +0000 (22:24 +0000)]
Patch from Sergey Kubushyn [ksi@koi8.net]
Fix yaffs to return EINVALID rather than EPERM when mount fails.
marty [Thu, 27 Oct 2005 07:22:49 +0000 (07:22 +0000)]
Patch from Todd Poyner (tpoynor@mvista.com)
Return zero, not number of bytes written, for success (and non-zero for
error) in the commit_write method. Some callers, notably the loopback
mount driver, treat non-zero return as an error.
charles [Thu, 13 Oct 2005 02:17:00 +0000 (02:17 +0000)]
Throw out obsolete code
charles [Sun, 9 Oct 2005 07:55:00 +0000 (07:55 +0000)]
Use vmalloc for large memory allocations
charles [Fri, 7 Oct 2005 03:48:50 +0000 (03:48 +0000)]
Improve YDI lookup and device prefic handling
charles [Fri, 7 Oct 2005 02:46:49 +0000 (02:46 +0000)]
Add support for vmallocing large blockInfos
marty [Wed, 21 Sep 2005 15:16:59 +0000 (15:16 +0000)]
Added some documentation to moduleconfig.h and set it to match the
Kconfig defaults.
Updated Kconfig to force selection of YAFFS1 and YAFFS2 for now, until
we straighten out the ifdefs so that one can be built when the other
isn't.
charles [Wed, 21 Sep 2005 01:14:03 +0000 (01:14 +0000)]
Fix problem introduced my mv over fix
charles [Tue, 20 Sep 2005 23:14:14 +0000 (23:14 +0000)]
Move comment
charles [Tue, 20 Sep 2005 23:12:38 +0000 (23:12 +0000)]
Improve ecc warnings
marty [Tue, 20 Sep 2005 22:46:17 +0000 (22:46 +0000)]
Silly Marty, picked wrong guard for moduleconfig.h
charles [Tue, 20 Sep 2005 05:23:41 +0000 (05:23 +0000)]
Take out CONFIG_YAFFS_YAFFS1s for easier build
charles [Tue, 20 Sep 2005 05:22:43 +0000 (05:22 +0000)]
Fix rename over problem
charles [Tue, 20 Sep 2005 05:08:50 +0000 (05:08 +0000)]
Add support for faster yaffs direct look-ups. Fix rename over problem
charles [Tue, 20 Sep 2005 05:05:40 +0000 (05:05 +0000)]
Add support for faster yaffs direct look-ups.
marty [Sun, 18 Sep 2005 05:31:26 +0000 (05:31 +0000)]
Modified Makefile to allow 'out of kernel tree' module building for 2.6.x
kernels. (See Documentation/kbuild for details on how to do this).
Modified yportenv.h to include moduleconfig.h
Added new file moduleconfig.h. This is the compromise that makes it
possible to build yaffs in any of three ways:
1) in-kernel, in the kernel source tree. You put yaffs into the
kernel source tree using patch-ker.sh
2) as-module, in the kernel source tree.
3) as-module, out of the kernel source tree.
Because modules built outside of the kernel source tree can't use the
kconfig tool to add their CONFIG_ variable to <linux/config.h>,
moduleconfig.h is a compromise that gathers all of the CONFIG_
variables in one place.
The CONFIG_ variables in moduleconfig.h are protected by
KBUILD_MODNAME, a variable that is only set when a module is built
outside of the kernel source tree.
The CONFIG_ variables are all on by default -- this is probably not
what you want. Comment out the ones that you don't want enabled.
NOTE: Not all of the CONFIG_ variables used in yaffs2 are in
moduleconfig.h. Those that are not relevant to Linux are missing.
charles [Tue, 16 Aug 2005 02:28:04 +0000 (02:28 +0000)]
lindent
charles [Thu, 11 Aug 2005 02:51:49 +0000 (02:51 +0000)]
*** empty log message ***
marty [Thu, 11 Aug 2005 02:33:02 +0000 (02:33 +0000)]
lindent
marty [Thu, 11 Aug 2005 01:07:43 +0000 (01:07 +0000)]
lindent
charles [Thu, 11 Aug 2005 00:34:14 +0000 (00:34 +0000)]
Lindent
charles [Wed, 10 Aug 2005 23:47:31 +0000 (23:47 +0000)]
*** empty log message ***
charles [Wed, 10 Aug 2005 20:34:40 +0000 (20:34 +0000)]
Change bad block marker to Y to identify YAFFS-marked bad blocks
charles [Tue, 9 Aug 2005 04:22:30 +0000 (04:22 +0000)]
Strip obsolete code
charles [Tue, 9 Aug 2005 04:17:30 +0000 (04:17 +0000)]
Strip obsolete code
charles [Tue, 9 Aug 2005 03:52:23 +0000 (03:52 +0000)]
Complete shadowing
charles [Tue, 9 Aug 2005 01:02:04 +0000 (01:02 +0000)]
yaffs_ramem2k.c moved to direct
charles [Tue, 9 Aug 2005 01:00:37 +0000 (01:00 +0000)]
*** empty log message ***
luc [Thu, 4 Aug 2005 22:47:36 +0000 (22:47 +0000)]
Fix an error in writepage when a file is extended.
When a file is extended with truncate(), the call to inode_setattr() in yaffs_setattr()
call vmtruncate() which itself call a bunches of yaffs_writepage().
There we must NOT fill page whit index greater that the one given by the inode
'cos these pages refers to parts of the file which doesn't physically exists.
luc [Tue, 2 Aug 2005 19:18:44 +0000 (19:18 +0000)]
Check the return value of mtd->write_ecc() calls.
If not done, write failures will not be detected.
Thanks to Artis Kugevics.
luc [Tue, 2 Aug 2005 19:17:55 +0000 (19:17 +0000)]
Initialize the field eccbytes in nand_oobinfo.
Required to specify eccbytes for current MTD version, otherwise ECC will fail.
Thanks to Artis Kugevics.
charles [Tue, 2 Aug 2005 04:24:22 +0000 (04:24 +0000)]
More stuff to fix shrinkHeader handling problem
charles [Mon, 1 Aug 2005 23:36:56 +0000 (23:36 +0000)]
During scanning, only adjust shrinkSize if if is a shrink header
luc [Mon, 1 Aug 2005 21:03:06 +0000 (21:03 +0000)]
Move around the option in Kconfig so that depending stuff are nicely indented.
luc [Mon, 1 Aug 2005 21:02:22 +0000 (21:02 +0000)]
newconfig: use YAFFS_DOES_ECC instead of USE_NANDECC
luc [Mon, 1 Aug 2005 21:01:02 +0000 (21:01 +0000)]
Remove the support for yaffsram.
luc [Mon, 1 Aug 2005 20:55:24 +0000 (20:55 +0000)]
Adapt the code structure after removing of the yaffsram support.
luc [Mon, 1 Aug 2005 20:54:45 +0000 (20:54 +0000)]
Remove the support for yaffsram.