-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12/17/2009 12:43 AM, Nick Piggin wrote:
On Wed, Dec 16, 2009 at 01:54:05PM -0500, Jeff Mahoney wrote:
A previous version of this patch did essentially the same thing except it open coded the read/write calls instead. You can see why I think this version is a bit more flexible.
As an aside, I think one potential solution might be to implement a simple_file_write() that sidesteps all of the generic infrastructure surrounding do_sync_write().
I'm exploring that now.
Open coding something minimal might be the best idea, yes.
Ok. I've added an initramfs_read and initramfs_write that are really simplified versions of what you'd expect. It works for me and I don't get any scheduling while atomic BUGs anymore. It's not going to win any prizes for a clean solution, though. ;) - -Jeff - -- Jeff Mahoney SuSE Labs -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAktOWV4ACgkQLPWxlyuTD7LEHwCeLBlKmdt70hOaHQd5VzqiENFb U/cAoJ9LeeqfD8o8pDFci3S3CJHy/qyq =46hP -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org