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

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Charles Manning
日付:  
To: yaffs
CC: Wookey
古いトピック: Re: [Yaffs] Kenrel 2.6.28-rc8 removes prepare_write/commit_write...
題目: 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