yaffs2.git
13 years agoyaffs Adding more error code test programs to quick tests. note the bugs are still...
Timothy Manning [Wed, 3 Nov 2010 22:08:52 +0000 (11:08 +1300)]
yaffs Adding more error code test programs to quick tests. note the bugs are still present.
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs Found another bug.
Timothy Manning [Wed, 3 Nov 2010 03:46:33 +0000 (16:46 +1300)]
yaffs Found another bug.

In test_yaffs_open_file_ENOENT the error code ENOSPC is been returned but the emfile in not full.
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs Modified the make file to work with new name changes.
Timothy Manning [Wed, 3 Nov 2010 03:36:04 +0000 (16:36 +1300)]
yaffs Modified the make file to work with new name changes.
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs Forgot to remove some files from last commit.
Timothy Manning [Wed, 3 Nov 2010 03:23:13 +0000 (16:23 +1300)]
yaffs Forgot to remove some files from last commit.
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs Improvements on the quick tests code. note the bug is still here.
Timothy Manning [Wed, 3 Nov 2010 03:21:10 +0000 (16:21 +1300)]
yaffs Improvements on the quick tests code. note the bug is still here.
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs Still chasing the bug.
Timothy Manning [Wed, 3 Nov 2010 02:22:56 +0000 (15:22 +1300)]
yaffs Still chasing the bug.

test_yaffs_write is not writing to the file.
when the file is wred it returns a ENOENT error.
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs Are trapping a suspeced bug in quick_tests.
Timothy Manning [Wed, 3 Nov 2010 00:55:42 +0000 (13:55 +1300)]
yaffs Are trapping a suspeced bug in quick_tests.

the bug is beleved to be when yaffs_read() is called on a 0 length file.
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs update to quick tests.
Timothy Manning [Tue, 2 Nov 2010 23:10:49 +0000 (12:10 +1300)]
yaffs update to quick tests.
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs commiting quick tests to git.
Timothy Manning [Mon, 1 Nov 2010 20:44:32 +0000 (09:44 +1300)]
yaffs commiting quick tests to git.
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs bugs all fixed
Timothy Manning [Mon, 1 Nov 2010 01:22:17 +0000 (14:22 +1300)]
yaffs bugs all fixed
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs trying to rebase branch
Timothy Manning [Mon, 1 Nov 2010 01:18:33 +0000 (14:18 +1300)]
yaffs trying to rebase branch
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs trying to delete files
Timothy Manning [Mon, 1 Nov 2010 00:54:06 +0000 (13:54 +1300)]
yaffs trying to delete files
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs have been making some changes to yaffs_tester file.
Timothy Manning [Thu, 28 Oct 2010 02:00:25 +0000 (15:00 +1300)]
yaffs have been making some changes to yaffs_tester file.
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs Still recreating timothy_tests.
Timothy Manning [Thu, 28 Oct 2010 00:45:02 +0000 (13:45 +1300)]
yaffs Still recreating timothy_tests.
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs Still recovering files.
Timothy Manning [Thu, 28 Oct 2010 00:16:12 +0000 (13:16 +1300)]
yaffs Still recovering files.
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs trying to recreate timothy_tests after I deleated them.
Timothy Manning [Thu, 28 Oct 2010 00:06:41 +0000 (13:06 +1300)]
yaffs trying to recreate timothy_tests after I deleated them.
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoMerge branch 'master' of ssh://www.aleph1.co.uk/home/aleph1/git/yaffs2
Charles Manning [Wed, 3 Nov 2010 03:21:38 +0000 (16:21 +1300)]
Merge branch 'master' of ssh://aleph1.co.uk/home/aleph1/git/yaffs2

13 years agoyaffs: Switch from semaphores to mutexes
Charles Manning [Wed, 3 Nov 2010 03:01:12 +0000 (16:01 +1300)]
yaffs: Switch from semaphores to mutexes

Mutex is faster and init_MUTEX has been deprecated, so we'll just switch
to mutexes.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoyaffs: Redo Lindent
Charles Manning [Wed, 3 Nov 2010 02:02:10 +0000 (15:02 +1300)]
yaffs: Redo Lindent

Only applies to Linux files.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoyaffs: more clean up
Charles Manning [Wed, 3 Nov 2010 01:53:25 +0000 (14:53 +1300)]
yaffs: more clean up

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoyaffs: More clean up
Charles Manning [Wed, 3 Nov 2010 01:04:02 +0000 (14:04 +1300)]
yaffs: More clean up

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoyaffs: More clean up.
Charles Manning [Tue, 2 Nov 2010 22:45:09 +0000 (11:45 +1300)]
yaffs: More clean up.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoyaffs: More clean up
Charles Manning [Tue, 2 Nov 2010 02:16:48 +0000 (15:16 +1300)]
yaffs: More clean up

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoyaffs: More clean up
Charles Manning [Tue, 2 Nov 2010 00:39:42 +0000 (13:39 +1300)]
yaffs: More clean up

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoyaffs: More clean up
Charles Manning [Mon, 1 Nov 2010 22:57:35 +0000 (11:57 +1300)]
yaffs: More clean up

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoyaffs: Change __uxx types to uxx
Charles Manning [Mon, 1 Nov 2010 19:04:32 +0000 (08:04 +1300)]
yaffs: Change __uxx types to uxx

__u32 -> u32 and such.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoyaffs: More name changes
Charles Manning [Mon, 1 Nov 2010 18:56:43 +0000 (07:56 +1300)]
yaffs: More name changes

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoyaffs direct: Make trace access functions public
Charles Manning [Mon, 1 Nov 2010 04:17:37 +0000 (17:17 +1300)]
yaffs direct: Make trace access functions public

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoyaffs direct: Handle ENOSPC error on open
Charles Manning [Mon, 1 Nov 2010 00:40:52 +0000 (13:40 +1300)]
yaffs direct: Handle ENOSPC error on open

Fix up handling of ENOSPC  on open creating a file.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoyaffs direct: Improve error reporting for yaffs_lseek
Charles Manning [Sun, 31 Oct 2010 23:32:29 +0000 (12:32 +1300)]
yaffs direct: Improve error reporting for yaffs_lseek

Some error paths lacked proper error codes.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoyaffs direct: Add proper error handler for too many files open
Charles Manning [Sun, 31 Oct 2010 22:06:56 +0000 (11:06 +1300)]
yaffs direct: Add proper error handler for too many files open

If you open too many files then you get -ENFILE.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoMerge branch 'timothy'
Timothy Manning [Thu, 28 Oct 2010 02:05:47 +0000 (15:05 +1300)]
Merge branch 'timothy'

13 years agoyaffs removed direct/timothy_tests from git and added a convert error_code_str()...
Timothy Manning [Wed, 27 Oct 2010 23:43:52 +0000 (12:43 +1300)]
yaffs removed direct/timothy_tests from git and added a convert error_code_str() function for python and c.

Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs: Fix some 64-bit issues linux-mainline-rc-01
Charles Manning [Wed, 27 Oct 2010 02:15:00 +0000 (15:15 +1300)]
yaffs: Fix some 64-bit issues

Not previously compiling cleanly for 64-bit.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoMerge branch 'master' of ssh://www.aleph1.co.uk/home/aleph1/git/yaffs2
Charles Manning [Wed, 27 Oct 2010 01:44:57 +0000 (14:44 +1300)]
Merge branch 'master' of ssh://aleph1.co.uk/home/aleph1/git/yaffs2

13 years agoyaffs Further name changes and file reorganisation
Charles Manning [Wed, 27 Oct 2010 01:43:12 +0000 (14:43 +1300)]
yaffs Further name changes and file reorganisation

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoyaffs improvements on timothy_tests.
Timothy Manning [Wed, 27 Oct 2010 01:27:36 +0000 (14:27 +1300)]
yaffs improvements on timothy_tests.
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoMerge branch 'timothy'
Timothy Manning [Tue, 26 Oct 2010 04:12:06 +0000 (17:12 +1300)]
Merge branch 'timothy'

13 years agoyaffs Commiting some more yaffs tests showing bugs in yaffs.
Timothy Manning [Tue, 26 Oct 2010 04:04:39 +0000 (17:04 +1300)]
yaffs Commiting some more yaffs tests showing bugs in yaffs.
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs Restructuring timothy_tests folder.
Timothy Manning [Mon, 25 Oct 2010 21:20:42 +0000 (10:20 +1300)]
yaffs Restructuring timothy_tests folder.

Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs fixing some bugs with basic-tests
Timothy Manning [Mon, 25 Oct 2010 20:38:38 +0000 (09:38 +1300)]
yaffs fixing some bugs with basic-tests
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs Normalise copyright headers
Timothy Manning [Fri, 22 Oct 2010 04:18:24 +0000 (17:18 +1300)]
yaffs Normalise copyright headers

Some of the headers were not the right format.

Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs commiting changes to timothy_tests
Timothy Manning [Fri, 22 Oct 2010 02:45:59 +0000 (15:45 +1300)]
yaffs commiting changes to timothy_tests
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs Working on timothy_tests and have updated yaffs_importer.py
Timothy Manning [Thu, 21 Oct 2010 23:38:35 +0000 (12:38 +1300)]
yaffs Working on timothy_tests and have updated yaffs_importer.py

yaffs_importer has had more command line options added.
see README_yaffs_import_py.txt for more infomation.
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs working on the timothy_tests. just need to save the current state of the program.
Timothy Manning [Thu, 21 Oct 2010 20:26:31 +0000 (09:26 +1300)]
yaffs working on the timothy_tests. just need to save the current state of the program.
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs: Merge branch 'python_play'
Timothy Manning [Wed, 20 Oct 2010 00:42:58 +0000 (13:42 +1300)]
yaffs: Merge branch 'python_play'

Fix conflict

13 years agoyaffs Commiting changes to yaffs_importer.py yaffs_browser.py and yaffs_tester.c
Timothy Manning [Wed, 20 Oct 2010 00:29:09 +0000 (13:29 +1300)]
yaffs Commiting changes to yaffs_importer.py yaffs_browser.py and yaffs_tester.c
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs: Enable 64-bit building of python library
Charles Manning [Tue, 19 Oct 2010 23:39:57 +0000 (12:39 +1300)]
yaffs: Enable 64-bit building of python library

Needs the -fPIC flag.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoyaffs Commiting yaffs_tester.c and coresponding files
Timothy Manning [Mon, 18 Oct 2010 03:54:46 +0000 (16:54 +1300)]
yaffs Commiting yaffs_tester.c and coresponding files

This file is located in yaffs2/direct/timothy_tests
This file isnt working yet.
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs Updated the yaffs_importer README file
Timothy Manning [Mon, 18 Oct 2010 03:51:42 +0000 (16:51 +1300)]
yaffs Updated the yaffs_importer README file
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs added a README for yaffs_importer.py in yaffs/direct/python
Timothy Manning [Mon, 18 Oct 2010 03:37:58 +0000 (16:37 +1300)]
yaffs added a README for yaffs_importer.py in yaffs/direct/python
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs some more updates to yaffs_importer.py
Timothy Manning [Mon, 18 Oct 2010 02:59:18 +0000 (15:59 +1300)]
yaffs some more updates to yaffs_importer.py
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs : Change the way yaffs direct handles permissions for open etc.
Charles Manning [Mon, 18 Oct 2010 00:37:40 +0000 (13:37 +1300)]
yaffs : Change the way yaffs direct handles permissions for open etc.

The previous code was convoluted and hid some obscure problems.

This refactoring is a lot easier to understand and maintain.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoyaffs Made some changes to yaffs_importer.py
Timothy Manning [Sun, 17 Oct 2010 21:20:39 +0000 (10:20 +1300)]
yaffs Made some changes to yaffs_importer.py
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs found a bug in the yaffs importer.
Timothy Manning [Fri, 15 Oct 2010 04:34:20 +0000 (17:34 +1300)]
yaffs found a bug in the yaffs importer.
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs Chacing a bug in yaffs
Timothy Manning [Fri, 15 Oct 2010 03:44:15 +0000 (16:44 +1300)]
yaffs Chacing a bug in yaffs
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs Add error retrieval function for yaffs direct testing
Timothy Manning [Fri, 15 Oct 2010 02:40:53 +0000 (15:40 +1300)]
yaffs Add error retrieval function for yaffs direct testing

Allows yaffs direct errors to be read in python.

Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs Yaffs importer is now working with command line arguments.
Timothy Manning [Fri, 15 Oct 2010 02:05:59 +0000 (15:05 +1300)]
yaffs Yaffs importer is now working with command line arguments.
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs Yaffs importer now works with hardlinks and symlink.
Timothy Manning [Fri, 15 Oct 2010 00:07:34 +0000 (13:07 +1300)]
yaffs Yaffs importer now works with hardlinks and symlink.
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs Improve layout of proc yaffs stats
Charles Manning [Wed, 13 Oct 2010 21:34:45 +0000 (10:34 +1300)]
yaffs Improve layout of proc yaffs stats

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoyaffs Modify Makefile to handle multi or single version variants
Charles Manning [Mon, 11 Oct 2010 22:54:30 +0000 (11:54 +1300)]
yaffs Modify Makefile to handle multi or single version variants

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoyaffs Merge branch 'namechange'
Charles Manning [Mon, 11 Oct 2010 22:35:05 +0000 (11:35 +1300)]
yaffs Merge branch 'namechange'

Merge in first set of yaffs name changes

Conflicts:
direct/python/yaffs_python_helper.c
direct/yaffsfs.c

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoyaffs just fixed the way in which a symlink is opened in the yaffs browser.
Timothy Manning [Mon, 11 Oct 2010 20:43:24 +0000 (09:43 +1300)]
yaffs just fixed the way in which a symlink is opened in the yaffs browser.
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs more updates on coy_files_into_yaffs_fs
Timothy Manning [Mon, 11 Oct 2010 03:04:24 +0000 (16:04 +1300)]
yaffs more updates on coy_files_into_yaffs_fs
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs Creating a python file which will read current directories into yaffs file...
Timothy Manning [Mon, 11 Oct 2010 01:51:25 +0000 (14:51 +1300)]
yaffs Creating a python file which will read current directories into yaffs file system
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs Updates on the python yaffs browser
Timothy Manning [Sun, 10 Oct 2010 21:49:09 +0000 (10:49 +1300)]
yaffs Updates on the python yaffs browser
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoMerge branch 'python_play'
Timothy Manning [Thu, 7 Oct 2010 22:07:38 +0000 (11:07 +1300)]
Merge branch 'python_play'

13 years agoyaffs More debug for yaffs browser.
Timothy Manning [Thu, 7 Oct 2010 22:06:17 +0000 (11:06 +1300)]
yaffs More debug for yaffs browser.

Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs Improve hard link handling in yaffs direct
Charles Manning [Thu, 7 Oct 2010 21:14:50 +0000 (10:14 +1300)]
yaffs Improve hard link handling in yaffs direct

Ensure that hard links are deferenced properly by doing it in
yaffsfs_FindObject.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoyaffs The yaffs browser's st.st_mode bug has now been fixed
Timothy Manning [Thu, 7 Oct 2010 02:10:27 +0000 (15:10 +1300)]
yaffs The yaffs browser's st.st_mode bug has now been fixed

the st.st_mode returning 0 for a symlink was caused by:
result = yaffs_stat(fullname,byref(st))
been used insted of:
            result = yaffs_lstat(fullname,byref(st))
changing to the latter fixed this bug.
Everything works.
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs Yaffs browser can now create and delete hard links.
Timothy Manning [Thu, 7 Oct 2010 02:01:02 +0000 (15:01 +1300)]
yaffs Yaffs browser can now create and delete hard links.

Defined values such as S_IFMT have now been added to yaffsfs.py

There is a bug with st.st_mode returning 0 if the object scanned is a symlink.
This is currently been worked on.
The ability to open and see symlinks in the browser is not working because of this.

Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs Yaffs browser can now create and delete symlinks.
Timothy Manning [Thu, 7 Oct 2010 01:30:08 +0000 (14:30 +1300)]
yaffs Yaffs browser can now create and delete symlinks.
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs Can now delete files, folders, and folders with files in them.
Timothy Manning [Wed, 6 Oct 2010 22:22:00 +0000 (11:22 +1300)]
yaffs Can now delete files, folders, and folders with files in them.
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs Improve yaffs direct link following
Charles Manning [Thu, 7 Oct 2010 03:56:02 +0000 (16:56 +1300)]
yaffs Improve yaffs direct link following

Did not handle hardlinks to symlinks properly.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoMerge branch 'master' of ssh://www.aleph1.co.uk/home/aleph1/git/yaffs2
Charles Manning [Thu, 7 Oct 2010 02:16:02 +0000 (15:16 +1300)]
Merge branch 'master' of ssh://aleph1.co.uk/home/aleph1/git/yaffs2

13 years agoyaffs Change stat to lstats in test code
Charles Manning [Thu, 7 Oct 2010 02:13:25 +0000 (15:13 +1300)]
yaffs Change stat to lstats in test code

lstat gives us symlinks.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoyaffs Make more symbol changes
Charles Manning [Wed, 6 Oct 2010 22:10:58 +0000 (11:10 +1300)]
yaffs Make more symbol changes

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoyaffs More symbol changes
Charles Manning [Wed, 6 Oct 2010 02:55:06 +0000 (15:55 +1300)]
yaffs More symbol changes

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoyaffs First round of name changes
Charles Manning [Mon, 4 Oct 2010 21:13:50 +0000 (10:13 +1300)]
yaffs First round of name changes

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoyaffs Further mods to python browser. pre-name-change
Timothy Manning [Wed, 6 Oct 2010 21:05:05 +0000 (10:05 +1300)]
yaffs Further mods to python browser.

Fixed the Makefile by adding an extra symlink.
Gave the python browser the ablity to create files and folders.
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoMerge branch 'python_play'
Timothy Manning [Wed, 6 Oct 2010 01:55:37 +0000 (14:55 +1300)]
Merge branch 'python_play'

13 years agoyaffs Use file emulator for python test
Timothy Manning [Wed, 6 Oct 2010 01:52:43 +0000 (14:52 +1300)]
yaffs Use file emulator for python test

Change the python test library to use a file-backed emulator
for the yaffs2 mount rather than use a ram-based emulator.

Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs Add first cut python browser for yaffs direct
Timothy Manning [Wed, 6 Oct 2010 01:42:57 +0000 (14:42 +1300)]
yaffs Add first cut python browser for yaffs direct

A python based browser for working with yaffs direct.

More to follow...

Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agostarting on python browser
Timothy Manning [Tue, 5 Oct 2010 00:43:23 +0000 (13:43 +1300)]
starting on python browser
Signed-off-by: Timothy Manning <tfhmanning@gmail.com>
13 years agoyaffs: Add more messages to the patch-ker.sh script
Charles Manning [Mon, 4 Oct 2010 03:37:44 +0000 (16:37 +1300)]
yaffs: Add more messages to the patch-ker.sh script

Make it more obvious what the differences are between the multi- and single-
version varints of the yaffs vfs glue code.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoyaffs Add axes to data plotter
Charles Manning [Fri, 1 Oct 2010 02:13:10 +0000 (15:13 +1300)]
yaffs Add axes to data plotter

This is just cosmetics for the script that plots free data.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoyaffs Update README-linux to reflect kernel patching changes
Charles Manning [Wed, 29 Sep 2010 23:53:05 +0000 (12:53 +1300)]
yaffs Update README-linux to reflect kernel patching changes

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoyaffs Increase size of test tmpfs area
Charles Manning [Sun, 26 Sep 2010 23:24:58 +0000 (12:24 +1300)]
yaffs Increase size of test tmpfs area

The yaffs direct tests run in a tmpfs mount so that they run faster
and don't hit the disk.

The previous size was not enough to run all the tests in parallel.
Increase  to 2G bytes.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoyaffs Clean up some code
Charles Manning [Sat, 25 Sep 2010 04:13:43 +0000 (16:13 +1200)]
yaffs Clean up some code

Clean up some code. eg remove some conditional compilation
and obsolete code.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoyaffs Remove obsolete list debugging code
Charles Manning [Sat, 25 Sep 2010 02:48:37 +0000 (14:48 +1200)]
yaffs Remove obsolete list debugging code

This code does not work any more so may as well delete it.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoyaffs Tweaks to single and multi-version yaffs
Charles Manning [Sat, 25 Sep 2010 02:21:44 +0000 (14:21 +1200)]
yaffs Tweaks to single and multi-version yaffs

Strip multi-version code out of single version VFS glue.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoyaffs Add multi and single version Linux glue code
Charles Manning [Sat, 25 Sep 2010 01:27:11 +0000 (13:27 +1200)]
yaffs Add multi and single version Linux glue code

First step to single/mutli veriosns of yaffs for mainlining.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoyaffs Sort out some Linux multi-version compilation issues
Charles Manning [Tue, 21 Sep 2010 01:44:16 +0000 (13:44 +1200)]
yaffs Sort out some Linux multi-version compilation issues

Fix problems where some versions were not compiling.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoyaffs Add sharing control to yaffs direct
Charles Manning [Mon, 20 Sep 2010 09:04:16 +0000 (21:04 +1200)]
yaffs Add sharing control to yaffs direct

This is done mainly to support sharing control in WinCE.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoyaffs Modify mkyaffs2image.c
Charles Manning [Fri, 17 Sep 2010 02:31:57 +0000 (14:31 +1200)]
yaffs Modify mkyaffs2image.c

Apply Chuck's patches and some other mods.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoyaffs Add function to get number of open handles
Charles Manning [Fri, 17 Sep 2010 02:28:14 +0000 (14:28 +1200)]
yaffs Add function to get number of open handles

This is not a POSIX function.

Useful for checking if the object is in use.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoyaffs Clean up test scripts a bit
Charles Manning [Thu, 9 Sep 2010 21:38:24 +0000 (09:38 +1200)]
yaffs Clean up test scripts a bit

Remove some bashisms.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoyaffs Compilation clean ups
Charles Manning [Wed, 8 Sep 2010 23:35:09 +0000 (11:35 +1200)]
yaffs Compilation clean ups

Tighten compilation flags and clean up. More to follow...

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoyaffs: Cache object xattrib state.
Charles Manning [Wed, 8 Sep 2010 21:20:23 +0000 (09:20 +1200)]
yaffs: Cache object xattrib state.

We cache whether or not an object has xattributes.

This is done to get around the problem of the Linux VFS trying to check security
capabilities on every write. Assuming that most files don't have security
attributes, this code will save on a huge amount of reads and make writing
faster.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
13 years agoMerge branch 'master' of ssh://www.aleph1.co.uk/home/aleph1/git/yaffs2
Charles Manning [Fri, 3 Sep 2010 04:11:52 +0000 (16:11 +1200)]
Merge branch 'master' of ssh://aleph1.co.uk/home/aleph1/git/yaffs2