Re: [Yaffs] Kenrel 2.6.28-rc8 removes prepare_write/commit_w…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: yaffs
CC: Wookey
Old-Topics: Re: [Yaffs] Kenrel 2.6.28-rc8 removes prepare_write/commit_write...
Subject: Re: [Yaffs] Kenrel 2.6.28-rc8 removes prepare_write/commit_write...->> checkin
Hi All

I have now checked in 2.6.28 changes.

http://www.aleph1.co.uk/cgi-bin/viewcvs.cgi/yaffs2/yaffs_fs.c?r1=1.70&r2=1.71

These are slightly different to what Marcel and Wookey proposed in that:
1) Still multiversion.
2) Include generic llseek
3) Checks for space during write_begin (better behaved). Needs some
improvement since it just gives -ENOSPC if there are less than 20 free
cunks. It should really count how many it has allocated.
4) write_end returns bytes written instead of zero for a good write (which
seems to be a better thing to do).

So far this has passed all the testing I've thrown at it.

-- Charles